Commit f38e720a authored by Jun Lei's avatar Jun Lei Committed by Alex Deucher

drm/amd/display: extend EDID support to 1kb

[why]
There exist displays with EDIDs > 512 bytes, existing code
will cause us to ignore all extension blocks.
Signed-off-by: default avatarJun Lei <Jun.Lei@amd.com>
Reviewed-by: default avatarWenjing Liu <Wenjing.Liu@amd.com>
Acked-by: default avatarBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent fe6119fb
...@@ -103,7 +103,7 @@ struct dc_context { ...@@ -103,7 +103,7 @@ struct dc_context {
}; };
#define DC_MAX_EDID_BUFFER_SIZE 512 #define DC_MAX_EDID_BUFFER_SIZE 1024
#define EDID_BLOCK_SIZE 128 #define EDID_BLOCK_SIZE 128
#define MAX_SURFACE_NUM 4 #define MAX_SURFACE_NUM 4
#define NUM_PIXEL_FORMATS 10 #define NUM_PIXEL_FORMATS 10
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment