drm/radeon/dpm: fix display_gap programming on rv7xx
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Jul 2013 21:20:13 +0000 (17:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Jul 2013 21:39:51 +0000 (17:39 -0400)
Check the driver state rather than the register as the
crtc registers may not be enabled yet.

Should fix:
https://bugzilla.kernel.org/show_bug.cgi?id=60510
https://bugs.freedesktop.org/show_bug.cgi?id=66651

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

No differences found