drm/radeon: fix KV harvesting
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Mar 2018 16:03:27 +0000 (11:03 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Mar 2018 09:54:31 +0000 (10:54 +0100)
commitf641c63d750acf83002aa32ab9a06cc866026108
tree2145465174422cdc3fbe61838aa08dd32e4cd605
parent755e5527e57faf7e90d7300c4ed4350505d45277
drm/radeon: fix KV harvesting

commit 0b58d90f89545e021d188c289fa142e5ff9e708b upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/cik.c