drm/radeon: fix active cu count for SI and CIK
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Aug 2014 15:54:15 +0000 (11:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Aug 2014 16:01:48 +0000 (12:01 -0400)
commit6101b3ae94b4f266456308824e9ca4eab1235d1a
treed653578a740d7d61783795651343bea267dd656e
parentcd1c9c1a4b06d3bc264e774ad84c410ce02e124e
drm/radeon: fix active cu count for SI and CIK

This fixes the CU count reported to userspace for
OpenCL.

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

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