From: Alex Deucher Date: Mon, 18 Apr 2016 22:25:34 +0000 (-0400) Subject: drm/amdgpu: bump the afmt limit for CZ, ST, Polaris X-Git-Tag: v4.14-rc1~3168^2~23^2~77 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2238445925467024de1306500de00b3c0eb1ac1f;p=platform%2Fkernel%2Flinux-rpi.git drm/amdgpu: bump the afmt limit for CZ, ST, Polaris Fixes array overflow on these chips. Reviewed-by: Harry Wentland Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h index e4da6da..81bd964 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,