mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
Merge "disp: msm: sde: Get connector roi state even PU disabled"
This commit is contained in:
commit
b4d5b093d8
1 changed files with 3 additions and 3 deletions
|
|
@ -729,9 +729,6 @@ static int _sde_crtc_set_crtc_roi(struct drm_crtc *crtc,
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (!mode_info.roi_caps.enabled)
|
||||
continue;
|
||||
|
||||
sde_conn = to_sde_connector(conn_state->connector);
|
||||
sde_conn_state = to_sde_connector_state(conn_state);
|
||||
|
||||
|
|
@ -741,6 +738,9 @@ static int _sde_crtc_set_crtc_roi(struct drm_crtc *crtc,
|
|||
&sde_conn_state->property_state,
|
||||
CONNECTOR_PROP_ROI_V1);
|
||||
|
||||
if (!mode_info.roi_caps.enabled)
|
||||
continue;
|
||||
|
||||
/*
|
||||
* current driver only supports same connector and crtc size,
|
||||
* but if support for different sizes is added, driver needs
|
||||
|
|
|
|||
Loading…
Reference in a new issue