drm/msm: move MAX_H_TILES_PER_DISPLAY to the DPU driver
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 31 Oct 2024 21:44:07 +0000 (23:44 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 31 Oct 2024 22:58:08 +0000 (00:58 +0200)
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 <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/622536/
Link: https://lore.kernel.org/r/20241031-dpu-move-topology-v1-2-8ffa8122d3b6@linaro.org
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h
drivers/gpu/drm/msm/msm_drv.h

index f7465a1..6c4f3d7 100644 (file)
@@ -19,6 +19,8 @@
 
 #define IDLE_TIMEOUT   (66 - 16/2)
 
+#define MAX_H_TILES_PER_DISPLAY 2
+
 /**
  * struct msm_display_info - defines display properties
  * @intf_type:          INTF_ type
index ae3adb0..1dc161d 100644 (file)
@@ -71,7 +71,6 @@ enum msm_dsi_controller {
 };
 
 #define MSM_GPU_MAX_RINGS 4
-#define MAX_H_TILES_PER_DISPLAY 2
 
 /* Commit/Event thread specific structure */
 struct msm_drm_thread {