summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/exynos/exynos_drm_drv.h
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2014-02-24 19:15:38 +0900
committerInki Dae <daeinki@gmail.com>2014-03-24 00:36:36 +0900
commitc37f42cd189d28981d97d56d4d534b777a198074 (patch)
treedc75e103a6322657fdc2517c10fe812becb0fb38 /drivers/gpu/drm/exynos/exynos_drm_drv.h
parentaf65c804877078a58cb02cc0f2ce4198401402fc (diff)
downloadlwn-c37f42cd189d28981d97d56d4d534b777a198074.tar.gz
lwn-c37f42cd189d28981d97d56d4d534b777a198074.zip
drm/exynos: Add create_connector callback
This creates a new display hook called create_connector. The purpose is to allow the display driver to create its own drm_connector instead of using the exynos_drm_connector. This moves things closer to completely removing the exynos_drm_connector abstraction. 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_drm_drv.h')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_drv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm/exynos/exynos_drm_drv.h
index 09c158ab53c0..b1b02d03ec12 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_drv.h
+++ b/drivers/gpu/drm/exynos/exynos_drm_drv.h
@@ -139,6 +139,8 @@ struct exynos_drm_display;
struct exynos_drm_display_ops {
int (*initialize)(struct exynos_drm_display *display,
struct drm_device *drm_dev);
+ int (*create_connector)(struct exynos_drm_display *display,
+ struct drm_encoder *encoder);
void (*remove)(struct exynos_drm_display *display);
bool (*is_connected)(struct exynos_drm_display *display);
void (*get_max_resol)(struct exynos_drm_display *display,