]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdf74f36d42cff7a690d05701a0a4a036fda8cd22
treefb135ffcbbd1d4c961f0bd90dcbed4ad21adb4d6
parent0f2c9a31d864c8de6639ba9c573f69e92cc46a24
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