drm/radeon/dpm: fix displaygap programming on rv6xx
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Jul 2013 22:29:14 +0000 (18:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Jul 2013 22:29:14 +0000 (18:29 -0400)
commit2333a003a83ae8b257ac4bc1bb297c897c1ebb90
treef005d03f266f26bec5d1608091eb4edd55bb80d9
parente3c736fe47289dc6f577c8b20cc146bd7e69aff0
drm/radeon/dpm: fix displaygap programming on rv6xx

Need to use the driver state rather than the register
state since the displays may not be enabled when the
power state is programmed.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/rv6xx_dpm.c