]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix KV harvesting
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Mar 2018 16:05:31 +0000 (11:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Mar 2018 21:27:00 +0000 (16:27 -0500)
commite6a75391d9b011f0a1fd991d1cfae2c98eda8055
treeda1ef1250f7e31cc7a8dbda5c1072f148d6f01b4
parent4b9fb5a56f61cc4025a71880b80fb65c664bb817
drm/amdgpu: fix KV harvesting

Always set the graphics values to the max for the
asic type.  E.g., some 1 RB chips are actually 1 RB chips,
others are actually harvested 2 RB chips.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=99353
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c