summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-04-18 18:25:34 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-04-21 20:03:46 -0400
commit83c5cda2ccf40a7a7e4bb674321509b346e23d5a (patch)
treeefc881880dfd98ddc7ee79de6dcd11fddaac670d
parent3ea25f858fd5aeee888059952bbb8e910541eebb (diff)
downloadlinux-sh-83c5cda2ccf40a7a7e4bb674321509b346e23d5a.tar.gz
drm/amdgpu: bump the afmt limit for CZ, ST, Polaris
Fixes array overflow on these chips. Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
index e4da6daf128e..81bd964d3dfc 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
@@ -53,7 +53,7 @@ struct amdgpu_hpd;
#define AMDGPU_MAX_HPD_PINS 6
#define AMDGPU_MAX_CRTCS 6
-#define AMDGPU_MAX_AFMT_BLOCKS 7
+#define AMDGPU_MAX_AFMT_BLOCKS 9
enum amdgpu_rmx_type {
RMX_OFF,