Merge "disp: msm: dsi: update default physical panel width and height"

This commit is contained in:
qctecmdr
2019-07-22 21:20:22 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -802,7 +802,7 @@ int dsi_connector_get_modes(struct drm_connector *connector, void *data,
const u8 edid_buf[EDID_LENGTH] = {
0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x44, 0x6D,
0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x1B, 0x10, 0x01, 0x03,
0x80, 0x50, 0x2D, 0x78, 0x0A, 0x0D, 0xC9, 0xA0, 0x57, 0x47,
0x80, 0x00, 0x00, 0x78, 0x0A, 0x0D, 0xC9, 0xA0, 0x57, 0x47,
0x98, 0x27, 0x12, 0x48, 0x4C, 0x00, 0x00, 0x00, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01,
@@ -852,6 +852,9 @@ int dsi_connector_get_modes(struct drm_connector *connector, void *data,
goto end;
}
edid.width_cm = (connector->display_info.width_mm) / 10;
edid.height_cm = (connector->display_info.height_mm) / 10;
dsi_drm_update_dtd(&edid, modes, count);
dsi_drm_update_checksum(&edid);
rc = drm_connector_update_edid_property(connector, &edid);