mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Moritz Muehlenhoff <jmm@inutil.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Display corruption with radeonfb after resuming from suspend-to-ram
Date: Sun, 29 Jan 2006 16:38:12 +0100	[thread overview]
Message-ID: <20060129153811.GE1764@elf.ucw.cz> (raw)
In-Reply-To: <20060128155237.GA4601@informatik.uni-bremen.de>

Hi!

> I have a hard-to-reproduce problem with radeonfb and suspend-to-ram:
> 
> I'm using radeonfb with fbcon in a pure console environment for most
> os the time (with mplayer on X11 being the rare exception) and I
> sometimes encounter display corruption after resuming from suspend to
> RAM. My notebook is a ThinkPad X31 with this Radeon model:
> 
> 0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY (prog-if 00 [VGA])
>         Subsystem: IBM: Unknown device 052f
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR+ FastB2B+
>         Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 66 (2000ns min), Cache Line Size: 0x08 (32 bytes)
>         Interrupt: pin A routed to IRQ 11
>         Region 0: Memory at e0000000 (32-bit, prefetchable) [size=128M]
>         Region 1: I/O ports at 3000 [size=256]
>         Region 2: Memory at c0100000 (32-bit, non-prefetchable) [size=64K]
>         Expansion ROM at c0120000 [disabled] [size=128K]
>         Capabilities: <available only to root>
> 
> Resuming from suspend-to-ram works flawless in roughly 98% of all cases, but
> sometimes the display gets corrupted; some bits are set in the display in a
> weird way and the display starts to shift with every line break. An
> example:

Happens here, too... or happened, I think I have a solution. Reseting
video card during resume seems like a way to go.

Could you get s2ram.c from www.sf.net/projects/suspend, and add your
X31 with same parameters as X32 system, and let me know if it helps?

(You'll need an -mm kernel for parameter to be passed into kernel).

								Pavel
-- 
Thanks, Sharp!

  reply	other threads:[~2006-01-29 15:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-28 15:52 Moritz Muehlenhoff
2006-01-29 15:38 ` Pavel Machek [this message]
2006-01-30 10:45   ` Moritz Muehlenhoff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060129153811.GE1764@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=jmm@inutil.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®