mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
drm/amd/display: Rename EDID_BLOCK_SIZE to DC_EDID_BLOCK_SIZE
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>
This commit is contained in:
parent
b33171ccaa
commit
a634913ed2
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue