aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2016-04-18 22:25:34 +0000
committerAlex Deucher <[email protected]>2016-05-05 00:23:43 +0000
commit2238445925467024de1306500de00b3c0eb1ac1f (patch)
tree8f8e754af053de712f1d7d5e605bcccda4721b29 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
parentdrm/amdgpu: use defines for CRTCs and AMFT blocks (diff)
downloadkernel-2238445925467024de1306500de00b3c0eb1ac1f.tar.gz
kernel-2238445925467024de1306500de00b3c0eb1ac1f.zip
drm/amdgpu: bump the afmt limit for CZ, ST, Polaris
Fixes array overflow on these chips. Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
-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,