From 235ff9f8c20d93b22b11cc378f7e53f20a058038 Mon Sep 17 00:00:00 2001 From: Roland Mainz Date: Wed, 15 Dec 2004 09:35:23 +0000 Subject: Bug #1944 (https://bugs.freedesktop.org/show_bug.cgi?id=1944) attachment #1403 (https://bugs.freedesktop.org/attachment.cgi?id=1403): Various I8xx driver fixes, including: - Fixed server crash on reset when a structure allocated in PreInit() was freed on CloseScreen(). - Fixed ring buffer lock ups that happened because the structure that contained ringbuffer data was not zeroed after allocation. - Fixed numerous warnings due to signed unsigned comparisons. --- src/i810_reg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/i810_reg.h') diff --git a/src/i810_reg.h b/src/i810_reg.h index eac71ba9..e52375f8 100644 --- a/src/i810_reg.h +++ b/src/i810_reg.h @@ -459,11 +459,11 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define I830_HEAD_MASK 0x001FFFFC #define RING_START 0x08 -#define START_ADDR 0x00FFFFF8 +#define START_ADDR 0x03FFFFF8 #define I830_RING_START_MASK 0xFFFFF000 #define RING_LEN 0x0C -#define RING_NR_PAGES 0x000FF000 +#define RING_NR_PAGES 0x001FF000 #define I830_RING_NR_PAGES 0x001FF000 #define RING_REPORT_MASK 0x00000006 #define RING_REPORT_64K 0x00000002 -- cgit v1.2.3