linux/drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c

// SPDX-License-Identifier: GPL-2.0
/*
 * (C) COPYRIGHT 2018 ARM Limited. All rights reserved.
 * Author: James.Qian.Wang <[email protected]>
 *
 */

#include <drm/drm_blend.h>
#include <drm/drm_print.h>
#include "d71_dev.h"
#include "malidp_io.h"

static u64 get_lpu_event(struct d71_pipeline *d71_pipeline)
{}

static u64 get_cu_event(struct d71_pipeline *d71_pipeline)
{}

static u64 get_dou_event(struct d71_pipeline *d71_pipeline)
{}

static u64 get_pipeline_event(struct d71_pipeline *d71_pipeline, u32 gcu_status)
{}

static irqreturn_t
d71_irq_handler(struct komeda_dev *mdev, struct komeda_events *evts)
{}

#define ENABLED_GCU_IRQS
#define ENABLED_LPU_IRQS
#define ENABLED_CU_IRQS
#define ENABLED_DOU_IRQS

static int d71_enable_irq(struct komeda_dev *mdev)
{}

static int d71_disable_irq(struct komeda_dev *mdev)
{}

static void d71_on_off_vblank(struct komeda_dev *mdev, int master_pipe, bool on)
{}

static int to_d71_opmode(int core_mode)
{}

static int d71_change_opmode(struct komeda_dev *mdev, int new_mode)
{}

static void d71_flush(struct komeda_dev *mdev,
		      int master_pipe, u32 active_pipes)
{}

static int d71_reset(struct d71_dev *d71)
{}

void d71_read_block_header(u32 __iomem *reg, struct block_header *blk)
{}

static void d71_cleanup(struct komeda_dev *mdev)
{}

static int d71_enum_resources(struct komeda_dev *mdev)
{}

#define __HW_ID(__group, __format)

#define RICH
#define SIMPLE
#define RICH_SIMPLE
#define RICH_WB
#define RICH_SIMPLE_WB

#define Rot_0
#define Flip_H_V
#define Rot_ALL_H_V

#define LYT_NM
#define LYT_WB
#define LYT_NM_WB

#define AFB_TH
#define AFB_TH_SC_YTR
#define AFB_TH_SC_YTR_BS

static struct komeda_format_caps d71_format_caps_table[] =;

static bool d71_format_mod_supported(const struct komeda_format_caps *caps,
				     u32 layer_type, u64 modifier, u32 rot)
{}

static void d71_init_fmt_tbl(struct komeda_dev *mdev)
{}

static int d71_connect_iommu(struct komeda_dev *mdev)
{}

static int d71_disconnect_iommu(struct komeda_dev *mdev)
{}

static const struct komeda_dev_funcs d71_chip_funcs =;

const struct komeda_dev_funcs *
d71_identify(u32 __iomem *reg_base, struct komeda_chip_info *chip)
{}