Commit a634913e authored by Joshua Aberback's avatar Joshua Aberback Committed by Alex Deucher

drm/amd/display: Rename EDID_BLOCK_SIZE to DC_EDID_BLOCK_SIZE

Signed-off-by: default avatarJoshua Aberback <joshua.aberback@amd.com>
Reviewed-by: default avatarAbdoulaye Berthe <Abdoulaye.Berthe@amd.com>
Acked-by: default avatarBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent b33171cc
...@@ -907,10 +907,10 @@ bool dc_link_detect(struct dc_link *link, enum dc_detect_reason reason) ...@@ -907,10 +907,10 @@ bool dc_link_detect(struct dc_link *link, enum dc_detect_reason reason)
sink->sink_signal = SIGNAL_TYPE_DVI_SINGLE_LINK; sink->sink_signal = SIGNAL_TYPE_DVI_SINGLE_LINK;
/* Connectivity log: detection */ /* Connectivity log: detection */
for (i = 0; i < sink->dc_edid.length / EDID_BLOCK_SIZE; i++) { for (i = 0; i < sink->dc_edid.length / DC_EDID_BLOCK_SIZE; i++) {
CONN_DATA_DETECT(link, CONN_DATA_DETECT(link,
&sink->dc_edid.raw_edid[i * EDID_BLOCK_SIZE], &sink->dc_edid.raw_edid[i * DC_EDID_BLOCK_SIZE],
EDID_BLOCK_SIZE, DC_EDID_BLOCK_SIZE,
"%s: [Block %d] ", sink->edid_caps.display_name, i); "%s: [Block %d] ", sink->edid_caps.display_name, i);
} }
......
...@@ -104,7 +104,7 @@ struct dc_context { ...@@ -104,7 +104,7 @@ struct dc_context {
#define DC_MAX_EDID_BUFFER_SIZE 1024 #define DC_MAX_EDID_BUFFER_SIZE 1024
#define EDID_BLOCK_SIZE 128 #define DC_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