]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/si: properly handle internal cp ints
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Sep 2013 17:31:33 +0000 (13:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Sep 2013 15:44:23 +0000 (11:44 -0400)
commitb662bb08df32ff5ae0b5109e1f784b3ed8432e2d
tree3121d645669db2c9906ca700e162eccb1a66b145
parentdf74f36d42cff7a690d05701a0a4a036fda8cd22
drm/radeon/si: 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/si.c