linux/drivers/gpu/drm/lima/lima_pp.c

// SPDX-License-Identifier: GPL-2.0 OR MIT
/* Copyright 2017-2019 Qiang Yu <[email protected]> */

#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/device.h>
#include <linux/slab.h>

#include <drm/lima_drm.h>

#include "lima_device.h"
#include "lima_pp.h"
#include "lima_dlbu.h"
#include "lima_bcast.h"
#include "lima_vm.h"
#include "lima_regs.h"

#define pp_write(reg, data)
#define pp_read(reg)

static void lima_pp_handle_irq(struct lima_ip *ip, u32 state)
{}

static irqreturn_t lima_pp_irq_handler(int irq, void *data)
{}

static irqreturn_t lima_pp_bcast_irq_handler(int irq, void *data)
{}

static void lima_pp_soft_reset_async(struct lima_ip *ip)
{}

static int lima_pp_soft_reset_poll(struct lima_ip *ip)
{}

static int lima_pp_soft_reset_async_wait_one(struct lima_ip *ip)
{}

static int lima_pp_soft_reset_async_wait(struct lima_ip *ip)
{}

static void lima_pp_write_frame(struct lima_ip *ip, u32 *frame, u32 *wb)
{}

static int lima_pp_bus_stop_poll(struct lima_ip *ip)
{}

static int lima_pp_hard_reset_poll(struct lima_ip *ip)
{}

static int lima_pp_hard_reset(struct lima_ip *ip)
{}

static void lima_pp_print_version(struct lima_ip *ip)
{}

static int lima_pp_hw_init(struct lima_ip *ip)
{}

int lima_pp_resume(struct lima_ip *ip)
{}

void lima_pp_suspend(struct lima_ip *ip)
{}

int lima_pp_init(struct lima_ip *ip)
{}

void lima_pp_fini(struct lima_ip *ip)
{}

int lima_pp_bcast_resume(struct lima_ip *ip)
{}

void lima_pp_bcast_suspend(struct lima_ip *ip)
{}

int lima_pp_bcast_init(struct lima_ip *ip)
{}

void lima_pp_bcast_fini(struct lima_ip *ip)
{}

static int lima_pp_task_validate(struct lima_sched_pipe *pipe,
				 struct lima_sched_task *task)
{}

static void lima_pp_task_run(struct lima_sched_pipe *pipe,
			     struct lima_sched_task *task)
{}

static void lima_pp_task_fini(struct lima_sched_pipe *pipe)
{}

static void lima_pp_task_error(struct lima_sched_pipe *pipe)
{}

static void lima_pp_task_mmu_error(struct lima_sched_pipe *pipe)
{}

static void lima_pp_task_mask_irq(struct lima_sched_pipe *pipe)
{}

static struct kmem_cache *lima_pp_task_slab;
static int lima_pp_task_slab_refcnt;

int lima_pp_pipe_init(struct lima_device *dev)
{}

void lima_pp_pipe_fini(struct lima_device *dev)
{}