drm/radeon/kms: resume AGP by calling init.
authorDave Airlie <airlied@redhat.com>
Thu, 5 Nov 2009 05:39:10 +0000 (15:39 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 24 Nov 2009 03:01:47 +0000 (13:01 +1000)
commit0ebf17174b4bdd99ab81c476714c91ee335fdcbf
tree7c9a5f73831bd1da7dc12af347335a41dc4b48bc
parenta8a8a669ea13d792296737505adc43ccacf3a648
drm/radeon/kms: resume AGP by calling init.

AGP resume was broken since we moved to the new init path,
because we never re-enabled AGP on these systems at resume time.

This patch just calls the AGP resume call which just does the reinit
at resume time like the old path did.

Since AGP is pretty much gpu independant I did it outside
the gpu specific code.

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