drm/radeon/cik: properly handle internal cp ints
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Sep 2013 14:17:13 +0000 (10:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Sep 2013 15:44:23 +0000 (11:44 -0400)
commit4214faf6210a107ba83b2cfb67287f3265ea6e12
treefb135ffcbbd1d4c961f0bd90dcbed4ad21adb4d6
parent01172772c7c973debf5b4881fcb9463891ea97ec
drm/radeon/cik: properly handle internal cp ints

The internal cp interrupts need to be enabled and
disabled at specific times in order clockgating to
work properly.  This patch changes the handling
of the CP_INT_CNTL register to respect the current
state of the internal CP interrupts when making
changes to the other interrupts in CP_INT_CNTL.

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