]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amd/display: Rename EDID_BLOCK_SIZE to DC_EDID_BLOCK_SIZE
authorJoshua Aberback <joshua.aberback@amd.com>
Thu, 2 May 2019 21:32:14 +0000 (17:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:21:00 +0000 (12:21 -0500)
Signed-off-by: Joshua Aberback <joshua.aberback@amd.com>
Reviewed-by: Abdoulaye Berthe <Abdoulaye.Berthe@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dc_types.h

index 6b8dc72a7861d7cb935bc92379045a23814fe375..e7236539f867eef99d4647dc34c084ec2edeafac 100644 (file)
@@ -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;
 
                /* 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,
-                                       &sink->dc_edid.raw_edid[i * EDID_BLOCK_SIZE],
-                                       EDID_BLOCK_SIZE,
+                                       &sink->dc_edid.raw_edid[i * DC_EDID_BLOCK_SIZE],
+                                       DC_EDID_BLOCK_SIZE,
                                        "%s: [Block %d] ", sink->edid_caps.display_name, i);
                }
 
index 6c2a3d9a4c2e75ddb4ac8d06559816ec8e8360e5..92a670894c058bbb14a838e996340aeb4b2de62f 100644 (file)
@@ -104,7 +104,7 @@ struct dc_context {
 
 
 #define DC_MAX_EDID_BUFFER_SIZE 1024
-#define EDID_BLOCK_SIZE 128
+#define DC_EDID_BLOCK_SIZE 128
 #define MAX_SURFACE_NUM 4
 #define NUM_PIXEL_FORMATS 10