summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tve200/tve200_drm.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-09-02 22:07:11 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-09-02 22:24:54 +0200
commit14b469f9c02d458a4388479fb393a625f15af488 (patch)
tree45402a9ecdb3080188f63b2625d8f71d45de674a /drivers/gpu/drm/tve200/tve200_drm.h
parentb52f09c494507a67a6a2c6b024c7df57150304f4 (diff)
drm/tve200: Replace custom connector with panel bridge
This replaces the custom connector in the TVE200 with the panel bridge helper. As long as we're just using panels and no other bridges, this works just fine. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20170902200711.29298-1-linus.walleij@linaro.org
Diffstat (limited to 'drivers/gpu/drm/tve200/tve200_drm.h')
-rw-r--r--drivers/gpu/drm/tve200/tve200_drm.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/gpu/drm/tve200/tve200_drm.h b/drivers/gpu/drm/tve200/tve200_drm.h
index f00fc47a6bd1..b463624c1f29 100644
--- a/drivers/gpu/drm/tve200/tve200_drm.h
+++ b/drivers/gpu/drm/tve200/tve200_drm.h
@@ -96,15 +96,13 @@
#include <drm/drm_gem.h>
#include <drm/drm_simple_kms_helper.h>
-struct tve200_drm_connector {
- struct drm_connector connector;
- struct drm_panel *panel;
-};
-
struct tve200_drm_dev_private {
struct drm_device *drm;
- struct tve200_drm_connector connector;
+ struct drm_connector *connector;
+ struct drm_encoder *encoder;
+ struct drm_panel *panel;
+ struct drm_bridge *bridge;
struct drm_simple_display_pipe pipe;
struct drm_fbdev_cma *fbdev;