Skip to content

Commit

Permalink
drm/msm: move MAX_H_TILES_PER_DISPLAY to the DPU driver
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Dmitry Baryshkov committed Oct 31, 2024
1 parent f8706bf commit 858b64e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/msm/msm_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 858b64e

Please sign in to comment.