drm/amdgpu: fix num_rbs exposed to userspace (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Jun 2016 14:17:17 +0000 (10:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Jun 2016 18:25:46 +0000 (14:25 -0400)
commit0b10029d826ed8c18a5f9d2f4abfa415d15cd1d3
tree024721b93ea3e7e3f29672dbeeed38e9fd2ba66b
parent041bf0225552044b85ce7ee7981e790d987d6ceb
drm/amdgpu: fix num_rbs exposed to userspace (v2)

This was accidently broken for harvest cards when the
code was refactored for Polaris support.

v2: multiply by shader engines.  Noticed by Nicolai.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c