]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/amdgpu: bump the afmt limit for CZ, ST, Polaris
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 18 Apr 2016 22:25:34 +0000 (18:25 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 May 2016 21:48:46 +0000 (14:48 -0700)
commit 83c5cda2ccf40a7a7e4bb674321509b346e23d5a upstream.

Fixes array overflow on these chips.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h

index 92f8b7bf7c64c0ac2965af28a47998c1d554d893..89df7871653d1773cc8739eb2b700671a4e6d110 100644 (file)
@@ -52,7 +52,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,