disp: msm: sde: fix rm/kms for handling all cont-splash cases

Fix resource and splash buffer handling in resource manager
and sde_kms to support continuous splash to be enabled/disabled
independently in multiple built-in display usecase.

Change-Id: I446ea9b08a794e2b053c37f55b31e51404bbcf71
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
This commit is contained in:
Veera Sundaram Sankaran
2019-05-23 10:53:12 -07:00
parent 5af1fe1891
commit 8b8fbfbeef
5 changed files with 42 additions and 59 deletions

View File

@@ -591,7 +591,6 @@ struct sde_sspp_index_info {
* struct sde_splash_data - Struct contains details of resources and hw blocks
* used in continuous splash on a specific display.
* @cont_splash_enabled: Stores the cont_splash status (enabled/disabled)
* @single_flush_en: Stores if the single flush is enabled
* @encoder: Pointer to the drm encoder object used for this display
* @splash: Pointer to struct sde_splash_mem used for this display
* @ctl_ids: Stores the valid MDSS ctl block ids for the current mode
@@ -605,7 +604,6 @@ struct sde_sspp_index_info {
*/
struct sde_splash_display {
bool cont_splash_enabled;
bool single_flush_en;
struct drm_encoder *encoder;
struct sde_splash_mem *splash;
u8 ctl_ids[MAX_DATA_PATH_PER_DSIPLAY];