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>
This commit is contained in:
Christopher Braga
2020-06-05 16:49:47 -04:00
committed by Gopikrishnaiah Anandan
parent c8f9e73f0e
commit dc1af2c9d5
8 changed files with 176 additions and 12 deletions

View File

@@ -7228,6 +7228,7 @@ void sde_crtc_update_cont_splash_settings(struct drm_crtc *crtc)
}
_sde_crtc_setup_mixers(crtc);
sde_cp_crtc_refresh_status_properties(crtc);
crtc->enabled = true;
/* update core clk value for initial state with cont-splash */