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

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

#include <linux/seq_file.h>
#include "d71_dev.h"
#include "komeda_kms.h"
#include "malidp_io.h"
#include "komeda_framebuffer.h"
#include "komeda_color_mgmt.h"

static void get_resources_id(u32 hw_id, u32 *pipe_id, u32 *comp_id)
{}

static u32 get_valid_inputs(struct block_header *blk)
{}

static void get_values_from_reg(void __iomem *reg, u32 offset,
				u32 count, u32 *val)
{}

static void dump_block_header(struct seq_file *sf, void __iomem *reg)
{}

/* On D71, we are using the global line size. From D32, every component have
 * a line size register to indicate the fifo size.
 */
static u32 __get_blk_line_size(struct d71_dev *d71, u32 __iomem *reg,
			       u32 max_default)
{}

static u32 get_blk_line_size(struct d71_dev *d71, u32 __iomem *reg)
{}

static u32 to_rot_ctrl(u32 rot)
{}

static u32 to_ad_ctrl(u64 modifier)
{}

static inline u32 to_d71_input_id(struct komeda_component_state *st, int idx)
{}

static void d71_layer_update_fb(struct komeda_component *c,
				struct komeda_fb *kfb,
				dma_addr_t *addr)
{}

static void d71_layer_disable(struct komeda_component *c)
{}

static void d71_layer_update(struct komeda_component *c,
			     struct komeda_component_state *state)
{}

static void d71_layer_dump(struct komeda_component *c, struct seq_file *sf)
{}

static int d71_layer_validate(struct komeda_component *c,
			      struct komeda_component_state *state)
{}

static const struct komeda_component_funcs d71_layer_funcs =;

static int d71_layer_init(struct d71_dev *d71,
			  struct block_header *blk, u32 __iomem *reg)
{}

static void d71_wb_layer_update(struct komeda_component *c,
				struct komeda_component_state *state)
{}

static void d71_wb_layer_dump(struct komeda_component *c, struct seq_file *sf)
{}

static void d71_wb_layer_disable(struct komeda_component *c)
{}

static const struct komeda_component_funcs d71_wb_layer_funcs =;

static int d71_wb_layer_init(struct d71_dev *d71,
			     struct block_header *blk, u32 __iomem *reg)
{}

static void d71_component_disable(struct komeda_component *c)
{}

static void compiz_enable_input(u32 __iomem *id_reg,
				u32 __iomem *cfg_reg,
				u32 input_hw_id,
				struct komeda_compiz_input_cfg *cin)
{}

static void d71_compiz_update(struct komeda_component *c,
			      struct komeda_component_state *state)
{}

static void d71_compiz_dump(struct komeda_component *c, struct seq_file *sf)
{}

static const struct komeda_component_funcs d71_compiz_funcs =;

static int d71_compiz_init(struct d71_dev *d71,
			   struct block_header *blk, u32 __iomem *reg)
{}

static void d71_scaler_update_filter_lut(u32 __iomem *reg, u32 hsize_in,
					 u32 vsize_in, u32 hsize_out,
					 u32 vsize_out)
{}

static void d71_scaler_update(struct komeda_component *c,
			      struct komeda_component_state *state)
{}

static void d71_scaler_dump(struct komeda_component *c, struct seq_file *sf)
{}

static const struct komeda_component_funcs d71_scaler_funcs =;

static int d71_scaler_init(struct d71_dev *d71,
			   struct block_header *blk, u32 __iomem *reg)
{}

static int d71_downscaling_clk_check(struct komeda_pipeline *pipe,
				     struct drm_display_mode *mode,
				     unsigned long aclk_rate,
				     struct komeda_data_flow_cfg *dflow)
{}

static void d71_splitter_update(struct komeda_component *c,
				struct komeda_component_state *state)
{}

static void d71_splitter_dump(struct komeda_component *c, struct seq_file *sf)
{}

static const struct komeda_component_funcs d71_splitter_funcs =;

static int d71_splitter_init(struct d71_dev *d71,
			     struct block_header *blk, u32 __iomem *reg)
{}

static void d71_merger_update(struct komeda_component *c,
			      struct komeda_component_state *state)
{}

static void d71_merger_dump(struct komeda_component *c, struct seq_file *sf)
{}

static const struct komeda_component_funcs d71_merger_funcs =;

static int d71_merger_init(struct d71_dev *d71,
			   struct block_header *blk, u32 __iomem *reg)
{}

static void d71_improc_update(struct komeda_component *c,
			      struct komeda_component_state *state)
{}

static void d71_improc_dump(struct komeda_component *c, struct seq_file *sf)
{}

static const struct komeda_component_funcs d71_improc_funcs =;

static int d71_improc_init(struct d71_dev *d71,
			   struct block_header *blk, u32 __iomem *reg)
{}

static void d71_timing_ctrlr_disable(struct komeda_component *c)
{}

static void d71_timing_ctrlr_update(struct komeda_component *c,
				    struct komeda_component_state *state)
{}

static void d71_timing_ctrlr_dump(struct komeda_component *c,
				  struct seq_file *sf)
{}

static const struct komeda_component_funcs d71_timing_ctrlr_funcs =;

static int d71_timing_ctrlr_init(struct d71_dev *d71,
				 struct block_header *blk, u32 __iomem *reg)
{}

int d71_probe_block(struct d71_dev *d71,
		    struct block_header *blk, u32 __iomem *reg)
{}

static void d71_gcu_dump(struct d71_dev *d71, struct seq_file *sf)
{}

static void d71_lpu_dump(struct d71_pipeline *pipe, struct seq_file *sf)
{}

static void d71_dou_dump(struct d71_pipeline *pipe, struct seq_file *sf)
{}

static void d71_pipeline_dump(struct komeda_pipeline *pipe, struct seq_file *sf)
{}

const struct komeda_pipeline_funcs d71_pipeline_funcs =;

void d71_dump(struct komeda_dev *mdev, struct seq_file *sf)
{}