Bug 12342 - drm_pci_alloc needs to error when alignment constraints not met
Summary: drm_pci_alloc needs to error when alignment constraints not met
Status: CLOSED OBSOLETE
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-01 14:08 UTC by Tim Yamin
Modified: 2012-05-24 14:05 UTC (History)
4 users (show)

See Also:
Kernel Version: 2.6.28
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Patch (954 bytes, patch)
2009-01-01 14:09 UTC, Tim Yamin
Details | Diff

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?

Note You need to log in before you can comment on or make changes to this bug.