OSDN Git Service

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>
Mon, 5 Mar 2018 20:39:52 +0000 (15:39 -0500)
commita97fc4e4524cda15e0176ee8853038f6b3920a9a
tree977697d4ffd41390d4c742b46c05da67931a56fd
parentdcd9f100071799416a5bc9d2bc4d66837810306b
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