From: Aidan Gratton Date: Mon, 17 Aug 2020 20:50:12 +0000 (-0600) Subject: drm/amd/display: Increase Max EDID Size Constant X-Git-Tag: v5.10-rc1~123^2~11^2~93 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=123ecf6836904bc38bd24402f583e464e6c51fc9;p=thirdparty%2Fkernel%2Flinux.git drm/amd/display: Increase Max EDID Size Constant [HOW & WHY] Change max EDID size constant to 1280 to support 10-block EDIDs. Signed-off-by: Aidan Gratton Acked-by: Aurabindo Pillai Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dc_types.h b/drivers/gpu/drm/amd/display/dc/dc_types.h index aa8e0955db482..c47a19719de2c 100644 --- a/drivers/gpu/drm/amd/display/dc/dc_types.h +++ b/drivers/gpu/drm/amd/display/dc/dc_types.h @@ -122,7 +122,7 @@ struct dc_context { }; -#define DC_MAX_EDID_BUFFER_SIZE 1024 +#define DC_MAX_EDID_BUFFER_SIZE 1280 #define DC_EDID_BLOCK_SIZE 128 #define MAX_SURFACE_NUM 4 #define NUM_PIXEL_FORMATS 10