disp: msm: sde: add SID setup function for pipes and lutdma

Add SID setup function to help programming
the SIDs for all the pipes and lutdma xin clients
based on the VM.

Change-Id: Iea598303b480b33de8750e0988129dd5cdfe7572
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
This commit is contained in:
Veera Sundaram Sankaran
2020-02-27 12:24:21 -08:00
committed by Gerrit - the friendly Code Review server
parent 7245366343
commit bfec52ae7b
5 changed files with 93 additions and 9 deletions

View File

@@ -327,6 +327,13 @@ void sde_plane_clear_ubwc_error(struct drm_plane *plane);
void sde_plane_setup_src_split_order(struct drm_plane *plane,
enum sde_sspp_multirect_index rect_mode, bool enable);
/*
* sde_plane_set_sid - set VM SID for the plane
* @plane: Pointer to DRM plane object
* @vm: VM id
*/
void sde_plane_set_sid(struct drm_plane *plane, u32 vm);
/* sde_plane_is_cache_required - indicates if the system cache is
* required for the plane.
* @plane: Pointer to DRM plane object