Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13b9688e authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/msm/sde: update mixercount check in writeback usecase"

parents 00b83c5b f5df39a8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/*
 * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -345,7 +345,7 @@ int sde_wb_get_mode_info(struct drm_connector *connector,
		hdisplay = max(hdisplay, wb_dev->modes[i].hdisplay);

	topology = &mode_info->topology;
	topology->num_lm = (max_mixer_width <= hdisplay) ? dual_lm : single_lm;
	topology->num_lm = (max_mixer_width < hdisplay) ? dual_lm : single_lm;
	topology->num_enc = no_enc;
	topology->num_intf = single_intf;