mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
Merge tag 'MMI-V1TC35H.88-16' of https://github.com/MotorolaMobilityLLC/kernel-msm-5.4-techpack-display into lineage-22.2
Bangkk push for Android 15 * tag 'MMI-V1TC35H.88-16' of https://github.com/MotorolaMobilityLLC/kernel-msm-5.4-techpack-display: disp: msm: dsi: add null pointer check in dsi_display_dev_remove msm/dsi_display: resend new roi to panel, fix pu dup issue disp: msm: sde: clear cached rectangles when PU ROI is set Change-Id: I2eed4c78f491b527ed088576e799dfb4488e5e97
This commit is contained in:
commit
aae02053fd
2 changed files with 7 additions and 0 deletions
|
|
@ -8854,6 +8854,12 @@ static int dsi_display_set_roi(struct dsi_display *display,
|
|||
return rc;
|
||||
}
|
||||
|
||||
rc = dsi_panel_send_roi_dcs(display->panel, i, &ctrl_roi);
|
||||
if (rc) {
|
||||
DSI_ERR("dsi_panel_set_roi twice failed rc %d\n", rc);
|
||||
return rc;
|
||||
}
|
||||
|
||||
/* re-program the ctrl with the timing based on the new roi */
|
||||
rc = dsi_ctrl_timing_setup(ctrl->ctrl);
|
||||
if (rc) {
|
||||
|
|
|
|||
|
|
@ -657,6 +657,7 @@ static int _sde_crtc_set_roi_v1(struct drm_crtc_state *state,
|
|||
crtc = cstate->base.crtc;
|
||||
|
||||
memset(&cstate->user_roi_list, 0, sizeof(cstate->user_roi_list));
|
||||
memset(&cstate->cached_user_roi_list, 0, sizeof(cstate->cached_user_roi_list));
|
||||
|
||||
if (!usr_ptr) {
|
||||
SDE_DEBUG("crtc%d: rois cleared\n", DRMID(crtc));
|
||||
|
|
|
|||
Loading…
Reference in a new issue