]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: Disable AGP is aperture size < 32M
authorJerome Glisse <jglisse@redhat.com>
Wed, 13 Jan 2010 14:16:39 +0000 (15:16 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 14 Jan 2010 01:53:45 +0000 (11:53 +1000)
commitda284bd5decfab9128772643d03c78b4900ab4d3
tree8b1fc890b7ee33f618ffa969156f26020e4c88a2
parent64608c9fc95a9a656285f7484c5242b77f7437e1
drm/radeon/kms: Disable AGP is aperture size < 32M

radeon KMS need a GART of at least 32M to properly work. This patch
check the AGP aperture size and disable if it's less than 32M. Note
than unlike non KMS path we don't staticaly allocate AGP memory so
we are not wasting memory not used by graphic processing.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_agp.c