diff options
author | Sean Paul <seanpaul@chromium.org> | 2014-01-30 16:19:30 -0500 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2014-03-24 00:36:37 +0900 |
commit | caa5d1e5a32598bab25de1511a74ffdfa8c75d70 (patch) | |
tree | 57c7949b57a2199287e8140a7d15a84159dd5a58 /drivers/gpu/drm/exynos/exynos_dp_core.h | |
parent | d9716ee33aabeaaab9eb59938f57ed88fc01b8c3 (diff) |
drm/exynos: Implement drm_connector directly in dp driver
This patch implements drm_connector directly in the dp driver, this will
allow us to move away from the exynos_drm_connector layer.
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_dp_core.h')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_dp_core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_dp_core.h b/drivers/gpu/drm/exynos/exynos_dp_core.h index ccaeadc8ee1..d6a900d4ee4 100644 --- a/drivers/gpu/drm/exynos/exynos_dp_core.h +++ b/drivers/gpu/drm/exynos/exynos_dp_core.h @@ -13,6 +13,7 @@ #ifndef _EXYNOS_DP_CORE_H #define _EXYNOS_DP_CORE_H +#include <drm/drm_crtc.h> #include <drm/exynos_drm.h> #define DP_TIMEOUT_LOOP_COUNT 100 @@ -144,6 +145,9 @@ struct link_train { struct exynos_dp_device { struct device *dev; + struct drm_device *drm_dev; + struct drm_connector connector; + struct drm_encoder *encoder; struct clk *clock; unsigned int irq; void __iomem *reg_base; |