Commit 71d2706d authored by Guido Gunther's avatar Guido Gunther

gpu: imx: Drop dpu-blit only present on i.MX8Q*

Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent cd907bf0
......@@ -8,5 +8,4 @@ config IMX8_DPRC
default y if IMX_DPU_CORE=y
default m if IMX_DPU_CORE=m
source drivers/gpu/imx/dpu-blit/Kconfig
source drivers/gpu/imx/dcss/Kconfig
obj-$(CONFIG_IMX8_PRG) += imx8_prg.o
obj-$(CONFIG_IMX8_DPRC) += imx8_dprc.o
obj-$(CONFIG_IMX_DPU_BLIT) += dpu-blit/
obj-$(CONFIG_IMX_DCSS_CORE) += dcss/
config IMX_DPU_BLIT
tristate
depends on IMX_DPU_CORE
default y if IMX_DPU_CORE=y
default m if IMX_DPU_CORE=m
ccflags-y += -Idrivers/gpu/imx/dpu
imx-dpu-blit-objs := dpu-blit.o
obj-$(CONFIG_IMX_DPU_BLIT) += imx-dpu-blit.o
This diff is collapsed.
This diff is collapsed.
/*
* Copyright (C) 2016 Freescale Semiconductor, Inc.
* Copyright 2017 NXP
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*/
#ifndef __DPU_BLIT_H__
#define __DPU_BLIT_H__
#define COMMAND_BUFFER_SIZE 65536 /* up to 64k bytes */
#define CMDSEQ_FIFO_SPACE_THRESHOLD 192
#define WORD_SIZE 4
struct dpu_bliteng {
struct device *dev;
void __iomem *base;
s32 id;
struct mutex mutex;
bool inuse;
s32 irq_store9_shdload;
s32 irq_store9_framecomplete;
s32 irq_store9_seqcomplete;
void *buffer_addr_virt;
u32 buffer_addr_phy;
u32 *cmd_list;
struct dpu_soc *dpu;
struct dprc *dprc[2];
};
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment