]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1dd27e379a75f3cb6c6579188613b0821847231b
tree63b01ecd9645565561ed2d32c3c4b2835fa5b2c0
parent35b609bfa3d8116202c635d2f5d97d33c85c8448
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