disp: msm: sde: read demura plane status registers on cont-splash boot
Extrapolate the Demura plane configuration from the Demura DSPP block on cont-splash boot, and pass this information to DRM clients via a CRTC property. This will allow user-space to be aware of all plane reservations, and avoid plane mangling in multi display use-cases. Change-Id: I6d216f555fcddbd19c18b6209dc830c21f6be5a4 Signed-off-by: Christopher Braga <cbraga@codeaurora.org>
此提交包含在:

提交者
Gopikrishnaiah Anandan

父節點
c8f9e73f0e
當前提交
dc1af2c9d5
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _SDE_HW_DSPP_H
|
||||
@@ -276,6 +276,13 @@ struct sde_hw_dspp_ops {
|
||||
* @status: Pointer to configuration.
|
||||
*/
|
||||
void (*setup_demura_backlight_cfg)(struct sde_hw_dspp *ctx, u64 val);
|
||||
|
||||
/**
|
||||
* demura_read_plane_status - Query demura plane status
|
||||
* @ctx: Pointer to dspp context
|
||||
* @status: Demura plane used by DSPP. demura_fetch_planes enum value.
|
||||
*/
|
||||
void (*demura_read_plane_status)(struct sde_hw_dspp *ctx, u32 *status);
|
||||
};
|
||||
|
||||
/**
|
||||
|
新增問題並參考
封鎖使用者