disp: msm: sde: check fetch active registers for active data planes

Continuous splash setup checks the CTL configuration to determine and
log all planes that have been enabled for continuous splash boot.
This logic currently only checks the planes mapped to each LM on
a given control path, resulting in data planes being missed.

Update the boot plane enumeration logic to additionally check the CTL
fetch active registers to detect and log missed planes. This logic
checks against all planes found through the original enumeration path
to avoid logging the same plane twice. Note that planes found via the
fetch registers are assumed to be used across both rectangles due to
hardware logging limitations.

Change-Id: Ic1f4aaba94111fe096ba9764eeaef242beb6adf5
Signed-off-by: Christopher Braga <cbraga@codeaurora.org>
このコミットが含まれているのは:
Christopher Braga
2020-06-26 17:02:19 -04:00
committed by Gopikrishnaiah Anandan
コミット 812782e76b
5個のファイルの変更120行の追加18行の削除

ファイルの表示

@@ -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_CTL_H
@@ -466,6 +466,13 @@ struct sde_hw_ctl_ops {
*/
void (*set_active_pipes)(struct sde_hw_ctl *ctx,
unsigned long *fetch_active);
/**
* Get all the sspp marked for fetching on the control path.
* @ctx : ctl path ctx pointer
* @Return: bitmap of enum sde_sspp pipes found
*/
u32 (*get_active_pipes)(struct sde_hw_ctl *ctx);
};
/**