Skip to content

Commit 858b64e

Browse files
committed
drm/msm: move MAX_H_TILES_PER_DISPLAY to the DPU driver
The MAX_H_TILES_PER_DISPLAY const is only used by the DPU driver, move it to the corresponding header. Signed-off-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Abhinav Kumar <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/622536/ Link: https://lore.kernel.org/r/[email protected]
1 parent f8706bf commit 858b64e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
#define IDLE_TIMEOUT (66 - 16/2)
2121

22+
#define MAX_H_TILES_PER_DISPLAY 2
23+
2224
/**
2325
* struct msm_display_info - defines display properties
2426
* @intf_type: INTF_ type

drivers/gpu/drm/msm/msm_drv.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ enum msm_dsi_controller {
7171
};
7272

7373
#define MSM_GPU_MAX_RINGS 4
74-
#define MAX_H_TILES_PER_DISPLAY 2
7574

7675
/* Commit/Event thread specific structure */
7776
struct msm_drm_thread {

0 commit comments

Comments
 (0)