Skip to content

Commit e9d9ce5

Browse files
MarijnS95Abhinav Kumar
authored andcommitted
drm/msm/dpu: Move non-MDP_TOP INTF_INTR offsets out of hwio header
These offsets do not fall under the MDP TOP block and do not fit the comment right above. Move them to dpu_hw_interrupts.c next to the repsective MDP_INTF_x_OFF interrupt block offsets. Fixes: 25fdd59 ("drm/msm: Add SDM845 DPU support") Signed-off-by: Marijn Suijten <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Abhinav Kumar <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/534203/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abhinav Kumar <[email protected]>
1 parent cfbc21d commit e9d9ce5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
/*
1717
* Register offsets in MDSS register file for the interrupt registers
18-
* w.r.t. to the MDP base
18+
* w.r.t. the MDP base
1919
*/
2020
#define MDP_SSPP_TOP0_OFF 0x0
2121
#define MDP_INTF_0_OFF 0x6A000
@@ -24,6 +24,9 @@
2424
#define MDP_INTF_3_OFF 0x6B800
2525
#define MDP_INTF_4_OFF 0x6C000
2626
#define MDP_INTF_5_OFF 0x6C800
27+
#define INTF_INTR_EN 0x1c0
28+
#define INTF_INTR_STATUS 0x1c4
29+
#define INTF_INTR_CLEAR 0x1c8
2730
#define MDP_AD4_0_OFF 0x7C000
2831
#define MDP_AD4_1_OFF 0x7D000
2932
#define MDP_AD4_INTR_EN_OFF 0x41c

drivers/gpu/drm/msm/disp/dpu1/dpu_hwio.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
#define HIST_INTR_EN 0x01c
2222
#define HIST_INTR_STATUS 0x020
2323
#define HIST_INTR_CLEAR 0x024
24-
#define INTF_INTR_EN 0x1C0
25-
#define INTF_INTR_STATUS 0x1C4
26-
#define INTF_INTR_CLEAR 0x1C8
2724
#define SPLIT_DISPLAY_EN 0x2F4
2825
#define SPLIT_DISPLAY_UPPER_PIPE_CTRL 0x2F8
2926
#define DSPP_IGC_COLOR0_RAM_LUTN 0x300

0 commit comments

Comments
 (0)