drm/msm/hdmi: Enable HPD after HDMI IRQ is set up
[linux/fpc-iii.git] / drivers / gpu / drm / hisilicon / kirin / kirin_drm_drv.h
blob56cb62df065cfbfc9245bc876c3e0e38b301b7c7
1 /*
2 * Copyright (c) 2016 Linaro Limited.
3 * Copyright (c) 2014-2016 Hisilicon Limited.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 */
11 #ifndef __KIRIN_DRM_DRV_H__
12 #define __KIRIN_DRM_DRV_H__
14 #define MAX_CRTC 2
16 /* display controller init/cleanup ops */
17 struct kirin_dc_ops {
18 int (*init)(struct platform_device *pdev);
19 void (*cleanup)(struct platform_device *pdev);
22 struct kirin_drm_private {
23 struct drm_fbdev_cma *fbdev;
26 extern const struct kirin_dc_ops ade_dc_ops;
28 #endif /* __KIRIN_DRM_DRV_H__ */