mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
Merge "disp: msm: dsi: update default physical panel width and height"
This commit is contained in:
commit
04dcddd7c0
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue