]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/amdgpu/gfx8: drop per-APU CU limits
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 31 May 2017 14:05:04 +0000 (10:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Jun 2017 04:04:21 +0000 (00:04 -0400)
commit943c05bdb53da273c43ec44eec37c6a70409b5e9
treed90eb700e1e593c6a571539c5ad7bac142b9dcff
parent6653ebd48f493efe3f3598ff3fe7b3d5451665df
drm/amdgpu/gfx8: drop per-APU CU limits

Always use the max for the family rather than the per sku limits.
This makes sure the mask is always the max size to avoid reporting
the wrong number of CUs.

Reviewed-by: Alex Xie <AlexBin.Xie@amd.com>
Reviewed-by: Andres Rodriguez <andresx7@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c