Merge "disp: msm: dp: correct the resolution width check in get_mode_info"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
c70f647143
@@ -398,7 +398,7 @@ int dp_connector_get_mode_info(struct drm_connector *connector,
|
|||||||
dp_panel = sde_conn->drv_panel;
|
dp_panel = sde_conn->drv_panel;
|
||||||
|
|
||||||
topology = &mode_info->topology;
|
topology = &mode_info->topology;
|
||||||
topology->num_lm = (avail_res->max_mixer_width <= drm_mode->hdisplay) ?
|
topology->num_lm = (avail_res->max_mixer_width < drm_mode->hdisplay) ?
|
||||||
dual_lm : single_lm;
|
dual_lm : single_lm;
|
||||||
topology->num_enc = no_enc;
|
topology->num_enc = no_enc;
|
||||||
topology->num_intf = single_intf;
|
topology->num_intf = single_intf;
|
||||||
|
Reference in New Issue
Block a user