summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tve200/tve200_display.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-09-11 00:08:01 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-09-11 20:32:56 +0200
commit9ab12e88a0b46b4e6fa32bb0a2875c813a928e73 (patch)
tree41f8b1439be8e1e460b7eae5f31c528e31ef8bfc /drivers/gpu/drm/tve200/tve200_display.c
parentbe05fe130fd02ce298cc0ebdfb2f0e7a70dccfd4 (diff)
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_display.c')
-rw-r--r--drivers/gpu/drm/tve200/tve200_display.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/tve200/tve200_display.c b/drivers/gpu/drm/tve200/tve200_display.c
index 1ad02fdbb074..18457de47bbc 100644
--- a/drivers/gpu/drm/tve200/tve200_display.c
+++ b/drivers/gpu/drm/tve200/tve200_display.c
@@ -333,8 +333,5 @@ int tve200_display_init(struct drm_device *drm)
if (ret)
return ret;
- /* We need the encoder to attach the bridge */
- priv->encoder = &priv->pipe.encoder;
-
return 0;
}