]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: Disable agp only if we are dealing with an AGP GPU
authorJerome Glisse <jglisse@redhat.com>
Mon, 30 Nov 2009 16:47:59 +0000 (17:47 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 2 Dec 2009 01:37:14 +0000 (11:37 +1000)
commit0a009f4e87ca07a39e2e95c990e02278805e636b
tree4d830df9ffce519eb4b37767576972cae1b6a09d
parent10e38af35f1c06320ef229ac24ff30173ce2774b
drm/radeon/kms: Disable agp only if we are dealing with an AGP GPU

On IGP if you pass option agpmode=-1 you would overwrite the set_page
function callback with improper function which endup in non functioning
hw. This patch will disable agp when giving agpmode=-1 parameter only
if we are dealing with an AGP GPU.

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