rk3288: Set HDMI display mode to 480p
If an HDMI display is detected (EDID can be read), set the display mode to 480p. If for some reason 480p is not supported then we'll fall back to the automatically detected display mode. BUG=chrome-os-partner:42946 BRANCH=firmware-veyron TEST=dev mode screen shows up on Mickey at 480p resolution Change-Id: I90dea37daa2d78628230d7d47f7ef0e917cbd7bb Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/290554 Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/293883
This commit is contained in:
parent
a96856e156
commit
37ecb55226
1 changed files with 4 additions and 0 deletions
|
|
@ -794,6 +794,10 @@ int rk_hdmi_get_edid(struct edid *edid)
|
|||
if (decode_edid(edid_buf, edid_size, edid))
|
||||
hdmi_debug("failed to decode edid.\n");
|
||||
|
||||
/* Try 480p for best compatibility. */
|
||||
if (set_display_mode(edid, EDID_MODE_640x480_60Hz))
|
||||
hdmi_debug("failed to set mode to 640x480@60Hz\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue