mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
disp: msm: dp: correct the resolution width check in get_mode_info
Use two layer mixers only if the resolution of the display exceeds the linewidth of the given layer mixer. Change-Id: I1892587816c0718280765353df7eabf82d6d7a18
This commit is contained in:
parent
a6bfb7fc1e
commit
9d0591d86f
1 changed files with 1 additions and 1 deletions
|
|
@ -381,7 +381,7 @@ int dp_connector_get_mode_info(struct drm_connector *connector,
|
|||
dp_panel = sde_conn->drv_panel;
|
||||
|
||||
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;
|
||||
topology->num_enc = no_enc;
|
||||
topology->num_intf = single_intf;
|
||||
|
|
|
|||
Loading…
Reference in a new issue