From: Gareth Hughes <gareth@valinux.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] r128 DRM module -- hardware bug
Date: Thu, 01 Mar 2001 00:05:35 +1100 [thread overview]
Message-ID: <3A9CF79F.38751994@valinux.com> (raw)
The following patch addresses a serious problem with older Rage 128
chipsets, up to and including at least the Rage 128 RF chipset found on
the Xpert 2000. The workaround should be classed as a critical fix, as
without it such cards will lock almost immediately.
-- Gareth
--- linux/drivers/char/drm/r128_drv.h Fri Jan 5 08:03:20 2001
+++ linux.gh/drivers/char/drm/r128_drv.h Thu Mar 1 00:03:35 2001
@@ -447,6 +447,11 @@
DRM_INFO( "ADVANCE_RING() tail=0x%06x wr=0x%06x\n", \
write, dev_priv->ring.tail ); \
} \
+ if ( write < 32 ) { \
+ memcpy( dev_priv->ring.end, \
+ dev_priv->ring.start, \
+ write * sizeof(u32) ); \
+ } \
r128_flush_write_combine(); \
dev_priv->ring.tail = write; \
R128_WRITE( R128_PM4_BUFFER_DL_WPTR, write ); \
reply other threads:[~2001-02-28 13:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3A9CF79F.38751994@valinux.com \
--to=gareth@valinux.com \
--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