Subject: xsrc/15129: request for pullup of radeon_driver.c xfree version 1.25.2.3
To: None <gnats-bugs@gnats.netbsd.org>
From: None <srp@tworoads.net>
List: netbsd-bugs
Date: 01/03/2002 14:15:19
>Number:         15129
>Category:       xsrc
>Synopsis:       radeon VE doesn't display in NetBSD version of XFree 4.1.0
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 03 14:16:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Scott Presnell
>Release:        NetBSD 1.5.2
>Organization:
	Self
>Environment:
System: NetBSD srp1 1.5.2 NetBSD 1.5.2 (YUKON) #19: Fri Dec 14 11:34:45 PST 2001 root@srp4:/usr/src/sys/arch/i386/compile/YUKON i386


>Description:
A documented problem with the ATI Radeon VE display driver
exists in the NetBSD import of XFree 4.1.0

>How-To-Repeat:
Insert Radeon VE card in NetBSD machine, pull most recent 4.1.0 CVS 
distribution for NetBSD and compile and install.

Radeon VE card will be recognized but video circuitry is turned off
[monitor goes to sleep when is X started]

>Fix:

Apply simple post 4.1.0 release patch:


RCS file: /xf86/anoncvs/cvs/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c,v
retrieving revision 1.25.2.2
retrieving revision 1.25.2.3
diff -u -p -r1.25.2.2 -r1.25.2.3
--- xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c  2001/05/31 08:36:15     1.25.2.2
+++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c  2001/06/26 11:59:24     1.25.2.3
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c,v 1.25.2.1 2001/05/23 16:29:46 alanh Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c,v 1.25.2.2 2001/05/31 08:36:15 alanh Exp $ */
 /*
  * Copyright 2000 ATI Technologies Inc., Markham, Ontario, and
  *                VA Linux Systems Inc., Fremont, California.
@@ -2498,7 +2498,6 @@ static Bool RADEONInitCrtcRegisters(Scrn
     } else {
        save->crtc_ext_cntl = RADEON_VGA_ATI_LINEAR | RADEON_XCRT_CNT_EN;
     }
-    save->crtc_ext_cntl = RADEON_VGA_ATI_LINEAR | RADEON_XCRT_CNT_EN;
     save->dac_cntl      = (RADEON_DAC_MASK_ALL
                           | RADEON_DAC_VGA_ADR_EN
                           | (info->dac6bits ? 0 : RADEON_DAC_8BIT_EN));

See also:

http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c

revision 1.25.2.3 (Branch: xf-4_1-branch)
>Release-Note:
>Audit-Trail:
>Unformatted: