summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Vivi <rodrigo.vivi@intel.com>2017-08-25 23:16:12 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-08-30 10:18:42 +0300
commitb07b9146635e90b72551bc8992eb85ecbaa0e593 (patch)
tree55873aee5a65a8566d7fa6473c7f4a7fbca02abe
parentdd23d3adcf030c8a0668934a4bffadcc849ac495 (diff)
downloadlinux-b07b9146635e90b72551bc8992eb85ecbaa0e593.tar.xz
drm/tve200: Pass NULL format_modifier to drm_simple_display_pipe_init
This Fixes build on branches where we already have format-modifier. Reference: https://lists.freedesktop.org/archives/dri-devel/2017-August/151044.html Fixes: 179c02fe90a4 ("drm/tve200: Add new driver for TVE200") Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Janet Morgan <janet.morgan@intel.com> Cc: Ben Widawsky <ben@bwidawsk.net> Cc: Daniel Stone <daniels@collabora.com> (v2) Cc: Liviu Dudau <Liviu.Dudau@arm.com> Cc: Daniel Stone <daniels@collabora.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20170825201612.23056-1-rodrigo.vivi@intel.com
-rw-r--r--drivers/gpu/drm/tve200/tve200_display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tve200/tve200_display.c b/drivers/gpu/drm/tve200/tve200_display.c
index 37fb333331f3..3f4b97bf2a13 100644
--- a/drivers/gpu/drm/tve200/tve200_display.c
+++ b/drivers/gpu/drm/tve200/tve200_display.c
@@ -336,6 +336,7 @@ int tve200_display_init(struct drm_device *drm)
ret = drm_simple_display_pipe_init(drm, &priv->pipe,
&tve200_display_funcs,
formats, ARRAY_SIZE(formats),
+ NULL,
&priv->connector.connector);
if (ret)
return ret;