All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] tridentfb: Fix scrolling artifacts during disk IO
@ 2005-08-01 15:51 Antonino A. Daplas
  2005-08-01 17:08 ` Linus Torvalds
  0 siblings, 1 reply; 2+ messages in thread
From: Antonino A. Daplas @ 2005-08-01 15:51 UTC (permalink / raw)
  To: Andrew Morton, Linus Torvalds
  Cc: Jochen Hein, Knut Petersen, Linux Fbdev development list

   Reported by: Jochen Hein (Bugzilla Bug 4312)

   When there is disk I/O happening, the framebuffer has a little snow on the
   screen.  Once I/O has finished, no garbage remains on screen.

   This bug was explained by: Knut Petersen

   Most important is CRTC register 2f, signal quality is also improved for
   higher vclk values by changing set_vclk() according to the X drivers and
   cyblafb.c

   Fix is to set the performance register (0x2f) with a more stable value.

   From: Antonino Daplas <adaplas@pol.net>
   Signed-off-by: Antonino Daplas <adaplas@pol.net>
---

tridentfb.c |    2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/video/tridentfb.c
+++ b/drivers/video/tridentfb.c
@@ -904,7 +904,7 @@ static int tridentfb_set_par(struct fb_i
	write3X4(DRAMControl, tmp);	//both IO,linear enable

	write3X4(InterfaceSel, read3X4(InterfaceSel) | 0x40);
-	write3X4(Performance,0x20);
+	write3X4(Performance,0x92);
	write3X4(PCIReg,0x07);		//MMIO & PCI read and write burst enable

	/* convert from picoseconds to MHz */




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/2] tridentfb: Fix scrolling artifacts during disk IO
  2005-08-01 15:51 [PATCH 2/2] tridentfb: Fix scrolling artifacts during disk IO Antonino A. Daplas
@ 2005-08-01 17:08 ` Linus Torvalds
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Torvalds @ 2005-08-01 17:08 UTC (permalink / raw)
  To: Antonino A. Daplas
  Cc: Andrew Morton, Jochen Hein, Knut Petersen,
	Linux Fbdev development list



On Mon, 1 Aug 2005, Antonino A. Daplas wrote:
> 
>    Fix is to set the performance register (0x2f) with a more stable value.

Applied. However, the patch was whitespace-damaged, please don't do that. 
I fixed it up by hand this time.

		Linus


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-01 17:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-01 15:51 [PATCH 2/2] tridentfb: Fix scrolling artifacts during disk IO Antonino A. Daplas
2005-08-01 17:08 ` Linus Torvalds

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.