edid: Fix source indent.
Some lines in decode_edid have incorrect indent levels. Change-Id: Icc9cb57ff8dd2e2056599b3dc733fe5ac4e41c16 Signed-off-by: Hung-Te Lin <hungte@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/193010 Reviewed-by: Gabe Black <gabeblack@chromium.org> (cherry picked from commit 3211ac0a29a037c5414f9ed1736c8f7822ad116b) Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com> Reviewed-on: http://review.coreboot.org/6994 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
0e8e0991e2
commit
fc0d244b39
@ -1166,7 +1166,7 @@ int decode_edid(unsigned char *edid, int size, struct edid *out)
|
|||||||
printk(BIOS_SPEW, "\n");
|
printk(BIOS_SPEW, "\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* FIXME: this is from 1.4 spec, check earlier */
|
/* FIXME: this is from 1.4 spec, check earlier */
|
||||||
if (analog) {
|
if (analog) {
|
||||||
switch (edid[0x18] & 0x18) {
|
switch (edid[0x18] & 0x18) {
|
||||||
case 0x00: printk(BIOS_SPEW, "Monochrome or grayscale display\n"); break;
|
case 0x00: printk(BIOS_SPEW, "Monochrome or grayscale display\n"); break;
|
||||||
@ -1263,13 +1263,13 @@ int decode_edid(unsigned char *edid, int size, struct edid *out)
|
|||||||
do_checksum(edid);
|
do_checksum(edid);
|
||||||
for(i = 0; i < size; i += 128)
|
for(i = 0; i < size; i += 128)
|
||||||
nonconformant_extension = parse_extension(out, &edid[i]);
|
nonconformant_extension = parse_extension(out, &edid[i]);
|
||||||
/*
|
/*
|
||||||
x = edid;
|
* x = edid;
|
||||||
for (edid_lines /= 8; edid_lines > 1; edid_lines--) {
|
* for (edid_lines /= 8; edid_lines > 1; edid_lines--) {
|
||||||
x += 128;
|
* x += 128;
|
||||||
nonconformant_extension += parse_extension(x);
|
* nonconformant_extension += parse_extension(x);
|
||||||
}
|
* }
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (claims_one_point_three) {
|
if (claims_one_point_three) {
|
||||||
if (nonconformant_digital_display ||
|
if (nonconformant_digital_display ||
|
||||||
@ -1364,7 +1364,7 @@ int decode_edid(unsigned char *edid, int size, struct edid *out)
|
|||||||
printk(BIOS_ERR,
|
printk(BIOS_ERR,
|
||||||
"Warning: CVT block does not set preferred refresh rate\n");
|
"Warning: CVT block does not set preferred refresh rate\n");
|
||||||
return !conformant;
|
return !conformant;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Notes on panel extensions: (TODO, implement me in the code)
|
* Notes on panel extensions: (TODO, implement me in the code)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user