]> git.baikalelectronics.ru Git - kernel.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)
commitf9703927c2a2cc4e703ff474e3e6fcd6446650a3
treed90eb700e1e593c6a571539c5ad7bac142b9dcff
parentbc8faf9f3e89c268f525dc6e546ffeaefdc828e3
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