mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
ANDROID: drm: kirin: Add kirin960 dpe driver support
add kirin960 dpe driver support Bug: 146450171 Signed-off-by: Xu YiPing <xuyiping@hisilicon.com> [jstultz: includes fixes folded in to remove LDI enable call, fix rdma_stride calculation, and fix hdmi hotplug crashes] Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: Ifdf3ef522f929c23f7da49b3c692550a3b3d6c49
This commit is contained in:
parent
711b81c4a6
commit
dc4dcb4749
4 changed files with 1283 additions and 0 deletions
1
drivers/gpu/drm/hisilicon/kirin/Makefile
Executable file → Normal file
1
drivers/gpu/drm/hisilicon/kirin/Makefile
Executable file → Normal file
|
|
@ -11,5 +11,6 @@ kirin-drm-$(CONFIG_DRM_HISI_KIRIN620) += \
|
|||
|
||||
kirin-drm-$(CONFIG_DRM_HISI_KIRIN960) += \
|
||||
kirin960/dw_drm_dsi.o \
|
||||
kirin_drm_dpe.o
|
||||
|
||||
obj-$(CONFIG_DRM_HISI_KIRIN) += kirin-drm.o
|
||||
|
|
|
|||
1274
drivers/gpu/drm/hisilicon/kirin/kirin_drm_dpe.c
Normal file
1274
drivers/gpu/drm/hisilicon/kirin/kirin_drm_dpe.c
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -340,6 +340,11 @@ static const struct of_device_id kirin_drm_dt_ids[] = {
|
|||
{ .compatible = "hisilicon,hi6220-ade",
|
||||
.data = &ade_driver_data,
|
||||
},
|
||||
#endif
|
||||
#ifdef CONFIG_DRM_HISI_KIRIN960
|
||||
{ .compatible = "hisilicon,hi3660-dpe",
|
||||
.data = &dpe_driver_data,
|
||||
},
|
||||
#endif
|
||||
{ /* end node */ },
|
||||
};
|
||||
|
|
|
|||
|
|
@ -56,5 +56,8 @@ struct kirin_drm_data {
|
|||
#ifdef CONFIG_DRM_HISI_KIRIN620
|
||||
extern struct kirin_drm_data ade_driver_data;
|
||||
#endif
|
||||
#ifdef CONFIG_DRM_HISI_KIRIN960
|
||||
extern const struct kirin_drm_data dpe_driver_data;
|
||||
#endif
|
||||
|
||||
#endif /* __KIRIN_DRM_DRV_H__ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue