Unix Technical Forum

ATI crash in X.org fixed.

This is a discussion on ATI crash in X.org fixed. within the mailing.openbsd.tech forums, part of the OpenBSD category; --> Hello all. I mailed last summer about a crash with a ATI-card here: http://marc.theaimsgroup.com/?l=open...3632715144&w=2 Jonathan Thornburg (jthorn@aei.mpg.de) also mailed ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 08:16 AM
Dunceor .
 
Posts: n/a
Default ATI crash in X.org fixed.

Hello all.
I mailed last summer about a crash with a ATI-card here:
http://marc.theaimsgroup.com/?l=open...3632715144&w=2

Jonathan Thornburg (jthorn@aei.mpg.de) also mailed about thr problem here:
http://marc.theaimsgroup.com/?l=open...3844021367&w=2

X.org has now finally fixed it.
All info can be found here:
https://bugs.freedesktop.org/show_bug.cgi?id=3869


The patch follows:

Index: radeon_bios.c
================================================== =================
RCS file:
/cvs/xorg/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_bios.c,v
--- radeon_bios.c 25 Aug 2005 03:34:58 -0000 1.5
+++ radeon_bios.c 7 Dec 2005 07:05:01 -0000
@@ -165,12 +165,12 @@
pRADEONEnt->PortInfo[crtc].DDCType = DDC_CRT2;
break;
default:
- pRADEONEnt->PortInfo[crtc].DDCType = DDC_NONE;
+ pRADEONEnt->PortInfo[crtc].DDCType = DDC_NONE_DETECTED;
break;
}

} else {
- pRADEONEnt->PortInfo[crtc].DDCType = DDC_NONE;
+ pRADEONEnt->PortInfo[crtc].DDCType = DDC_NONE_DETECTED;
}
crtc++;
} else {
@@ -273,6 +273,12 @@
if ((tmp0 = RADEON_BIOS16(tmp + 0x15))) {
if ((tmp1 = RADEON_BIOS8(tmp0+2) & 0x07)) {
pRADEONEnt->PortInfo[0].DDCType = tmp1;
+ if (pRADEONEnt->PortInfo[0].DDCType > DDC_CRT2) {
+ xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
+ "Unknown DDCType %d found\n",
+ pRADEONEnt->PortInfo[0].DDCType);
+ pRADEONEnt->PortInfo[0].DDCType = DDC_NONE_DETECTED;
+ }
xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "LCD DDC Info Table found!\n");
}
}




I would be very very happy if somebody could commit the patch.
Thanks.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:57 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com