disp: msm: dp: add debugfs node for bpp override
Add a debugfs node to set maximum bpp for the base panel which will be used in both SST and MST use cases to limit the bpp. Change-Id: I0ef7866e2b82a2078d6cdf97ee0d7226c2125b21 Signed-off-by: Nisarg Bhavsar <quic_bhavsar@quicinc.com> Signed-off-by: Rajkumar Subbiah <quic_rsubbia@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

父節點
38301e0bfe
當前提交
0b72b0d810
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
@@ -2135,6 +2135,8 @@ static int dp_debug_init_link(struct dp_debug_private *debug,
|
||||
|
||||
debugfs_create_u32("link_bw_code", 0644, dir, &debug->panel->link_bw_code);
|
||||
|
||||
debugfs_create_u32("max_bpp", 0644, dir, &debug->panel->max_supported_bpp);
|
||||
|
||||
file = debugfs_create_file("mmrm_clk_cb", 0644, dir, debug, &mmrm_clk_cb_fops);
|
||||
if (IS_ERR_OR_NULL(file)) {
|
||||
rc = PTR_ERR(file);
|
||||
|
Reference in New Issue
Block a user