Bug 8662

Summary: AGP DMA broken for savage DRM
Product: DRI Reporter: Michael Karcher <freedesktop-bugzilla>
Component: DRM/otherAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: alexdeucher
Version: DRI git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Fixes the reported bug none

Description Michael Karcher 2006-10-16 09:54:55 UTC
I have a Thinkpad T20 with a Savage/IX-MV graphics chip. OpenGL applications
crash with a SIGKILL (and a "VM: killing process <foo>" in the kernel log) if
using vertex DMA. I traced down the bug: it seems to affect all AGP DMA
transfers for savages, as it results from dev->agp_buffer_map being forgot to be
set.

Patch will be attached
Comment 1 Michael Karcher 2006-10-16 09:56:19 UTC
Created attachment 7430 [details] [review]
Fixes the reported bug
Comment 2 Michael Karcher 2006-10-16 10:47:30 UTC
Sorry, wrong setting of the version field. The patch is against DRI CVS, not
Xorg CVS which does not contain DRMs at all, if I did not miss it in WebCVS.
Comment 3 Alex Deucher 2006-10-16 12:14:52 UTC
Thanks for tracking this down.  The drm is actually in git now
(http://gitweb.freedesktop.org/?p=mesa/drm.git;a=summary), but the patch should
still apply easily.  I'll test and apply this to drm git later today.
Comment 4 Alex Deucher 2006-10-16 19:23:39 UTC
pushed to drm git.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.