disp: msm: sde: expose system cache support for writeback

Add a custom cache_enable property in writeback connector to allow
user-mode to control the cache setting on a frame basis. Configure
the hw and activate/deactivate the llcc based on the property. The
custom property is added based on the availability of the system
cache for writeback.

Change-Id: I812b31955eb36c75c33ac279b56502a13f7cdcbf
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
This commit is contained in:
Veera Sundaram Sankaran
2021-07-22 10:46:46 -07:00
parent ebe5742806
commit 993f61c91d
9 changed files with 108 additions and 24 deletions

View File

@@ -2812,7 +2812,7 @@ static void _sde_plane_sspp_setup_sys_cache(struct sde_plane *psde,
}
void sde_plane_static_img_control(struct drm_plane *plane,
enum sde_crtc_cache_state state)
enum sde_sys_cache_state state)
{
struct sde_plane *psde;
struct sde_plane_state *pstate;