mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 14:02:06 -04:00
drm/msm/mdss: define bitfields for the UBWC_STATIC register
Rather than hand-coding UBWC_STATIC value calculation, define corresponding bitfields and use them to setup the register value. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com> Patchwork: https://patchwork.freedesktop.org/patch/626372/ Link: https://lore.kernel.org/r/20241127-msm-mdss-ubwc-v3-1-9782a7c2b023@linaro.org
This commit is contained in:
@@ -13,6 +13,7 @@ struct msm_mdss_data {
|
||||
u32 ubwc_swizzle;
|
||||
u32 ubwc_static;
|
||||
u32 highest_bank_bit;
|
||||
bool ubwc_bank_spread;
|
||||
u32 macrotile_mode;
|
||||
u32 reg_bus_bw;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user