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

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

#include <linux/interrupt.h>
#include <linux/iopoll.h>
#include <linux/device.h>

#include "lima_device.h"
#include "lima_mmu.h"
#include "lima_vm.h"
#include "lima_regs.h"

#define mmu_write(reg, data)
#define mmu_read(reg)

#define lima_mmu_send_command(cmd, addr, val, cond)

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

static int lima_mmu_hw_init(struct lima_ip *ip)
{}

int lima_mmu_resume(struct lima_ip *ip)
{}

void lima_mmu_suspend(struct lima_ip *ip)
{}

int lima_mmu_init(struct lima_ip *ip)
{}

void lima_mmu_fini(struct lima_ip *ip)
{}

void lima_mmu_flush_tlb(struct lima_ip *ip)
{}

void lima_mmu_switch_vm(struct lima_ip *ip, struct lima_vm *vm)
{}

void lima_mmu_page_fault_resume(struct lima_ip *ip)
{}