linux/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.c

// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
 */

#include <drm/drm_managed.h>

#include "dpu_hwio.h"
#include "dpu_hw_catalog.h"
#include "dpu_hw_top.h"
#include "dpu_kms.h"

#define FLD_SPLIT_DISPLAY_CMD
#define FLD_SMART_PANEL_FREE_RUN
#define FLD_INTF_1_SW_TRG_MUX
#define FLD_INTF_2_SW_TRG_MUX
#define FLD_TE_LINE_INTER_WATERLEVEL_MASK

#define TRAFFIC_SHAPER_EN
#define TRAFFIC_SHAPER_RD_CLIENT(num)
#define TRAFFIC_SHAPER_WR_CLIENT(num)
#define TRAFFIC_SHAPER_FIXPOINT_FACTOR

#define MDP_TICK_COUNT
#define XO_CLK_RATE
#define MS_TICKS_IN_SEC

#define CALCULATE_WD_LOAD_VALUE(fps)

static void dpu_hw_setup_split_pipe(struct dpu_hw_mdp *mdp,
		struct split_pipe_cfg *cfg)
{}

static bool dpu_hw_setup_clk_force_ctrl(struct dpu_hw_mdp *mdp,
		enum dpu_clk_ctrl_type clk_ctrl, bool enable)
{}


static void dpu_hw_get_danger_status(struct dpu_hw_mdp *mdp,
		struct dpu_danger_safe_status *status)
{}

static void dpu_hw_setup_wd_timer(struct dpu_hw_mdp *mdp,
				  struct dpu_vsync_source_cfg *cfg)
{}

static void dpu_hw_setup_vsync_sel(struct dpu_hw_mdp *mdp,
				   struct dpu_vsync_source_cfg *cfg)
{}

static void dpu_hw_get_safe_status(struct dpu_hw_mdp *mdp,
		struct dpu_danger_safe_status *status)
{}

static void dpu_hw_intf_audio_select(struct dpu_hw_mdp *mdp)
{}

static void _setup_mdp_ops(struct dpu_hw_mdp_ops *ops,
		unsigned long cap)
{}

struct dpu_hw_mdp *dpu_hw_mdptop_init(struct drm_device *dev,
				      const struct dpu_mdp_cfg *cfg,
				      void __iomem *addr,
				      const struct dpu_mdss_cfg *m)
{}