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

Commit 1f17eaf0 authored by Abhijit Kulkarni's avatar Abhijit Kulkarni
Browse files

msm: mdss: Fix advertising HDR capability



HDR capability is not getting exposed for msm8998.
This is happening after the msmfalcon changes got merged.
This fix adds the hdr capbility to msm8998 and removes
from msmfalcon.

CRs-Fixed: 1116049
Change-Id: I81e0b3d90a03db6e655341338e03aea2911de89f
Signed-off-by: default avatarAbhijit Kulkarni <kabhijit@codeaurora.org>
parent 314869eb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/*
 * MDSS MDP Interface (used by framebuffer core)
 *
 * Copyright (c) 2007-2016, The Linux Foundation. All rights reserved.
 * Copyright (c) 2007-2017, The Linux Foundation. All rights reserved.
 * Copyright (C) 2007 Google Incorporated
 *
 * This software is licensed under the terms of the GNU General Public
@@ -2104,6 +2104,7 @@ static void mdss_mdp_hw_rev_caps_init(struct mdss_data_type *mdata)
		set_bit(MDSS_CAPS_10_BIT_SUPPORTED, mdata->mdss_caps_map);
		set_bit(MDSS_CAPS_AVR_SUPPORTED, mdata->mdss_caps_map);
		set_bit(MDSS_CAPS_SEC_DETACH_SMMU, mdata->mdss_caps_map);
		mdss_set_quirk(mdata, MDSS_QUIRK_HDR_SUPPORT_ENABLED);
		break;
	case MDSS_MDP_HW_REV_320:
		mdata->max_target_zorder = 7; /* excluding base layer */
@@ -2146,7 +2147,6 @@ static void mdss_mdp_hw_rev_caps_init(struct mdss_data_type *mdata)
		mdata->has_wb_ubwc = true;
		set_bit(MDSS_CAPS_10_BIT_SUPPORTED, mdata->mdss_caps_map);
		set_bit(MDSS_CAPS_SEC_DETACH_SMMU, mdata->mdss_caps_map);
		mdss_set_quirk(mdata, MDSS_QUIRK_HDR_SUPPORT_ENABLED);
		break;
	default:
		mdata->max_target_zorder = 4; /* excluding base layer */