Files
android_kernel_samsung_sm86…/msm/sde/sde_hw_reg_dma_v1.h
Christopher Braga 5e28b86e3c disp: msm: sde: Add support for SB LUTDMA
A new LUTDMA HW instance has been added to support programming of
SB features via LUTDMA. This change adds corresponding support for
the new SB LUTDMA, including catalog parsing, reg_dma init/deinit/ops
updates and new opcode support.

Change-Id: I0fed7a6e93cd96fe9fe562d2470a8789b161d1bc
Signed-off-by: Ping Li <pingli@codeaurora.org>
Signed-off-by: Christopher Braga <cbraga@codeaurora.org>
2020-02-06 14:21:53 -05:00

39 regels
1.1 KiB
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
*/
#ifndef _SDE_HW_REG_DMA_V1_H
#define _SDE_HW_REG_DMA_V1_H
#include "sde_reg_dma.h"
/**
* init_v1() - initialize the reg dma v1 driver by installing v1 ops
* @reg_dma - reg_dma hw info structure exposing capabilities.
*/
int init_v1(struct sde_hw_reg_dma *reg_dma);
/**
* init_v11() - initialize the reg dma v11 driver by installing v11 ops
* @reg_dma - reg_dma hw info structure exposing capabilities.
*/
int init_v11(struct sde_hw_reg_dma *reg_dma);
/**
* init_v12() - initialize the reg dma v12 driver by installing v12 ops
* @reg_dma - reg_dma hw info structure exposing capabilities.
*/
int init_v12(struct sde_hw_reg_dma *reg_dma);
/**
* init_v2() - initialize the reg dma v2 driver by installing v2 ops
* @reg_dma - reg_dma hw info structure exposing capabilities.
*/
int init_v2(struct sde_hw_reg_dma *reg_dma);
/**
* deinit_v1() - free up any resources allocated during the v1 reg dma init
*/
void deinit_v1(void);
#endif /* _SDE_HW_REG_DMA_V1_H */