summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tve200/tve200_drm.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-09-11 01:08:01 +0300
committerLinus Walleij <linus.walleij@linaro.org>2017-09-11 21:32:56 +0300
commit9ab12e88a0b46b4e6fa32bb0a2875c813a928e73 (patch)
tree41f8b1439be8e1e460b7eae5f31c528e31ef8bfc /drivers/gpu/drm/tve200/tve200_drm.h
parentbe05fe130fd02ce298cc0ebdfb2f0e7a70dccfd4 (diff)
downloadlinux-9ab12e88a0b46b4e6fa32bb0a2875c813a928e73.tar.xz
drm/tve200: Clean up panel bridging
This makes use of the drm_simple_display_pipe_attach_bridge() call and removes the two calls removing the bridge, which were erroneous: they unregister the bridge which is not what we want, we just want to unreference it and that is already handled by the core. Reviewed-by: Eric Anholt <eric@anholt.net> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20170910220801.28588-1-linus.walleij@linaro.org
Diffstat (limited to 'drivers/gpu/drm/tve200/tve200_drm.h')
-rw-r--r--drivers/gpu/drm/tve200/tve200_drm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tve200/tve200_drm.h b/drivers/gpu/drm/tve200/tve200_drm.h
index b463624c1f29..628b79324c48 100644
--- a/drivers/gpu/drm/tve200/tve200_drm.h
+++ b/drivers/gpu/drm/tve200/tve200_drm.h
@@ -100,7 +100,6 @@ struct tve200_drm_dev_private {
struct drm_device *drm;
struct drm_connector *connector;
- struct drm_encoder *encoder;
struct drm_panel *panel;
struct drm_bridge *bridge;
struct drm_simple_display_pipe pipe;