Bug 12342

Summary: drm_pci_alloc needs to error when alignment constraints not met
Product: Drivers Reporter: Tim Yamin (plasm)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: CLOSED OBSOLETE    
Severity: normal CC: airlied, alan, eric, gordon.jin
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.28 Subsystem:
Regression: No Bisected commit-id:
Attachments: Patch

Description Tim Yamin 2009-01-01 14:08:25 UTC
I had problems with DRI not working (PCI GART not mapping) on a system configured with 64KB pages. Lowering the page size to 16KB fixes the problem, but it would be nice to add an error message to the DRI code to indicate why the mapping failed and what the user should change.

Patch to be attached.

Cheers,

Tim
Comment 1 Tim Yamin 2009-01-01 14:09:11 UTC
Created attachment 19589 [details]
Patch
Comment 2 Andrew Morton 2009-01-05 15:00:30 UTC
Please send patches by email?

Suitable recipients for this one are:

dri-devel@lists.sourceforge.net
airlied@linux.ie
linux-kernel@vger.kernel.org
akpm@linux-foundation.org

Thanks.
Comment 3 Gordon Jin 2009-09-17 08:11:25 UTC
what's the status here?