drm/tve200: Pass NULL format_modifier to drm_simple_display_pipe_init
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 25 Aug 2017 20:16:12 +0000 (13:16 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 30 Aug 2017 07:18:42 +0000 (09:18 +0200)
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
drivers/gpu/drm/tve200/tve200_display.c

index 37fb333331f31f4a060905bbb79607d68c8ef1ab..3f4b97bf2a13dbaa11a68347f2214826700c5968 100644 (file)
@@ -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;