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

Commit e19c8d04 authored by Jayant Shekhar's avatar Jayant Shekhar
Browse files

drm/msm/sde: Enable destination ROI support on wfd



For ubwc formats, currently destination ROI is not
supported. This change enables the support.

Change-Id: I8bf995867a2c4798f0c68463807e5fe5c38cbec5
Signed-off-by: default avatarJayant Shekhar <jshekhar@codeaurora.org>
parent 9731a9e1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
/* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015-2018, 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
@@ -1680,6 +1680,8 @@ static int sde_wb_parse_dt(struct device_node *np, struct sde_mdss_cfg *sde_cfg)
		if (sde_cfg->has_wb_ubwc)
			set_bit(SDE_WB_UBWC, &wb->features);

		set_bit(SDE_WB_XY_ROI_OFFSET, &wb->features);

		for (j = 0; j < sde_cfg->mdp_count; j++) {
			sde_cfg->mdp[j].clk_ctrls[wb->clk_ctrl].reg_off =
				PROP_BITVALUE_ACCESS(prop_value,