diff options
| author | Marijn Suijten <[email protected]> | 2023-04-27 00:37:25 +0200 |
|---|---|---|
| committer | Dmitry Baryshkov <[email protected]> | 2023-05-22 10:14:17 +0300 |
| commit | f0408020bfdaeef168e46eead3cbcfc7fd16f314 (patch) | |
| tree | 287b1f02512cc15ec2ee1544f414fd82760c756c /scripts | |
| parent | d80d7f8912a8cbec16ec55793f4b20fc5e76640f (diff) | |
drm/msm/dpu: Take INTF index as parameter in interrupt register defines
Instead of hardcoding many register defines for every INTF and AD4 index
with a fixed stride, turn the defines into singular chunks of math that
compute the address using the base and this fixed stride multiplied by
the index given as argument to the definitions.
MDP_SSPP_TOP0_OFF is dropped as that constant is zero anyway, and all
register offsets related to it live in dpu_hwio.h.
Suggested-by: Dmitry Baryshkov <[email protected]>
Signed-off-by: Marijn Suijten <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/534221/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions