]> 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)
commit6e8ea48143c2ac99f9f5f35421476d9817b7bcaa
treed90eb700e1e593c6a571539c5ad7bac142b9dcff
parent84ee61eaa506bdadac37ef172d6801fca943b5eb
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