diff --git a/drivers/gpu/drm/hisilicon/kirin/Makefile b/drivers/gpu/drm/hisilicon/kirin/Makefile index 66c37a8b813f..3bbe0bd0a06b 100644 --- a/drivers/gpu/drm/hisilicon/kirin/Makefile +++ b/drivers/gpu/drm/hisilicon/kirin/Makefile @@ -4,6 +4,7 @@ EXTRA_CFLAGS += \ kirin-drm-y := kirin_drm_drv.o kirin-drm-$(CONFIG_DRM_HISI_KIRIN620) += kirin_drm_ade.o +kirin-drm-$(CONFIG_DRM_HISI_KIRIN960) += kirin_drm_dpe.o kirin-dsi-y := kirin_drm_dsi.o kirin-dsi-$(CONFIG_DRM_HISI_KIRIN620) += kirin/dw_drm_dsi.o diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_dpe.c b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_dpe.c new file mode 100644 index 000000000000..3a2023962a7c --- /dev/null +++ b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_dpe.c @@ -0,0 +1,1264 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Hisilicon Hi6220 SoC ADE(Advanced Display Engine)'s crtc&plane driver + * + * Copyright (c) 2016 Linaro Limited. + * Copyright (c) 2014-2016 Hisilicon Limited. + * + * Author: + * Xinliang Liu + * Xinliang Liu + * Xinwei Kong + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ + +#include +#include +#include