diff options
author | Jerome Glisse <jglisse@redhat.com> | 2010-01-15 14:44:37 +0100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2010-01-21 08:42:59 +1000 |
commit | 0c45249f419d8b86abe0e51c6627ca4b085e8c23 (patch) | |
tree | bb50e5f91fbb7c2db683a3d1e84965dc83612acc /drivers/gpu/drm/radeon/rv770.c | |
parent | 615e0cb67968c94fd9e53797985843a5b816dec4 (diff) | |
download | blackbird-op-linux-0c45249f419d8b86abe0e51c6627ca4b085e8c23.tar.gz blackbird-op-linux-0c45249f419d8b86abe0e51c6627ca4b085e8c23.zip |
drm/radeon/kms: r600/r700 disable irq at suspend
To avoid hw doing anythings after we disabled PCIE GART, fully
disable IRQ at suspend. Also cleanup a bit the ih structure
and process function.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/gpu/drm/radeon/rv770.c')
-rw-r--r-- | drivers/gpu/drm/radeon/rv770.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c index eb065bbe1eeb..c8cf2bc2b911 100644 --- a/drivers/gpu/drm/radeon/rv770.c +++ b/drivers/gpu/drm/radeon/rv770.c @@ -968,6 +968,7 @@ int rv770_suspend(struct radeon_device *rdev) /* FIXME: we should wait for ring to be empty */ r700_cp_stop(rdev); rdev->cp.ready = false; + r600_irq_suspend(rdev); r600_wb_disable(rdev); rv770_pcie_gart_disable(rdev); /* unpin shaders bo */ |