Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/msm/mdp5: add writeback block bases

In order to stop patching the mdp5 headers, import definitions for the
writeback blocks. This part is extracted from the old Rob's patch.

Co-developed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/585842/
Link: https://lore.kernel.org/r/20240401-fd-xml-shipped-v5-1-4bdb277a85a1@linaro.org

+11
+11
drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.h
··· 69 69 uint32_t caps; /* MDP capabilities: MDP_CAP_xxx bits */ 70 70 }; 71 71 72 + struct mdp5_wb_instance { 73 + int id; 74 + int lm; 75 + }; 76 + 77 + struct mdp5_wb_block { 78 + MDP5_SUB_BLOCK_DEFINITION; 79 + struct mdp5_wb_instance instances[MAX_BASES]; 80 + }; 81 + 72 82 #define MDP5_INTF_NUM_MAX 5 73 83 74 84 struct mdp5_intf_block { ··· 108 98 struct mdp5_sub_block pp; 109 99 struct mdp5_sub_block dsc; 110 100 struct mdp5_sub_block cdm; 101 + struct mdp5_wb_block wb; 111 102 struct mdp5_intf_block intf; 112 103 struct mdp5_perf_block perf; 113 104