OSDN Git Service

drm/radeon: fix KV harvesting
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Mar 2018 16:03:27 +0000 (11:03 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Mar 2018 21:27:00 +0000 (16:27 -0500)
commit0b58d90f89545e021d188c289fa142e5ff9e708b
treeb1ea456e902c5e7cd6d0febdcd373d5bd48f9219
parentc36aaba6d0f1c84921c07f036202af55fb86b9c1
drm/radeon: 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/radeon/cik.c