drm/radeon: fix active_cu mask on SI and CIK after re-init (v3)
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Aug 2014 15:56:38 +0000 (11:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Aug 2014 16:01:49 +0000 (12:01 -0400)
commit52da51f0f9ea9d213adfc99223630707b26d1d38
tree63b01ecd9645565561ed2d32c3c4b2835fa5b2c0
parent6101b3ae94b4f266456308824e9ca4eab1235d1a
drm/radeon: fix active_cu mask on SI and CIK after re-init (v3)

Need to initialize the mask to 0 on init, otherwise it
keeps increasing.

bug:
https://bugzilla.kernel.org/show_bug.cgi?id=82581

v2: also fix cu count
v3: split count fix into separate patch

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/si.c