drm/radeon/kms: add support for gui idle interrupts (v4)
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 22 Apr 2010 16:52:11 +0000 (12:52 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 18 May 2010 08:20:49 +0000 (18:20 +1000)
commit2031f77ca9c17133869b265210418959a909d259
tree21fc2aedea8f3c80c4de1d7b1168479bc7a1ce98
parentdef9ba9cf6a8266ee1ffd72556db002c3a2663db
drm/radeon/kms: add support for gui idle interrupts (v4)

Useful for certain power management operations.  You
need to wait for the GUI engine (2D, 3D, CP, etc.) to be
idle before changing clocks or adjusting engine parameters.

(v2) Fix gui idle enable on pre-r6xx asics

(v3) The gui idle interrrupt status bit is permanently asserted
on pre-r6xx chips, but the interrrupt is still generated.
workaround it in the driver.

(v4) Add support for evergreen

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_irq_kms.c
drivers/gpu/drm/radeon/radeon_pm.c
drivers/gpu/drm/radeon/radeon_reg.h
drivers/gpu/drm/radeon/rs600.c