diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2016-04-18 22:25:34 (GMT) |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-04-22 00:03:46 (GMT) |
commit | 83c5cda2ccf40a7a7e4bb674321509b346e23d5a (patch) | |
tree | efc881880dfd98ddc7ee79de6dcd11fddaac670d /drivers/gpu/drm/amd/amdgpu | |
parent | 3ea25f858fd5aeee888059952bbb8e910541eebb (diff) | |
download | linux-83c5cda2ccf40a7a7e4bb674321509b346e23d5a.tar.xz |
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
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 2 |
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 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, |