linux/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.h

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

#ifndef __MDP5_CFG_H__
#define __MDP5_CFG_H__

#include "msm_drv.h"

/*
 * mdp5_cfg
 *
 * This module configures the dynamic offsets used by mdp5.xml.h
 * (initialized in mdp5_cfg.c)
 */
extern const struct mdp5_cfg_hw *mdp5_cfg;

#define MAX_CTL
#define MAX_BASES
#define MAX_SMP_BLOCKS
#define MAX_CLIENTS

mdp5_smp_state_t;

#define MDP5_SUB_BLOCK_DEFINITION

struct mdp5_sub_block {};

struct mdp5_lm_instance {};

struct mdp5_lm_block {};

struct mdp5_pipe_block {};

struct mdp5_ctl_block {};

struct mdp5_smp_block {};

struct mdp5_mdp_block {};

struct mdp5_wb_instance {};

struct mdp5_wb_block {};

#define MDP5_INTF_NUM_MAX

struct mdp5_intf_block {};

struct mdp5_perf_block {};

struct mdp5_cfg_hw {};

struct mdp5_cfg {};

struct mdp5_kms;
struct mdp5_cfg_handler;

const struct mdp5_cfg_hw *mdp5_cfg_get_hw_config(struct mdp5_cfg_handler *cfg_hnd);
struct mdp5_cfg *mdp5_cfg_get_config(struct mdp5_cfg_handler *cfg_hnd);
int mdp5_cfg_get_hw_rev(struct mdp5_cfg_handler *cfg_hnd);

#define mdp5_cfg_intf_is_virtual(intf_type)

struct mdp5_cfg_handler *mdp5_cfg_init(struct mdp5_kms *mdp5_kms,
		uint32_t major, uint32_t minor);

#endif /* __MDP5_CFG_H__ */