Bug 8662 - AGP DMA broken for savage DRM
AGP DMA broken for savage DRM
Status: RESOLVED FIXED
Product: DRI
Classification: Unclassified
Component: DRM/other
DRI git
x86 (IA32) Linux (All)
: high normal
Assigned To: Default DRI bug account
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-16 09:54 UTC by Michael Karcher
Modified: 2006-10-16 19:23 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Fixes the reported bug (569 bytes, patch)
2006-10-16 09:56 UTC, Michael Karcher
no flags Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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.