Skip to contentSkip to conversation

drm/tve200: Pass NULL format_modifier to drm_simple_display_pipe_init

PATCH In review Rodrigo Vivi 4 participants 5 messages Aug 25, 2017 – Aug 31, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 e6fc3b68558e ("drm: Plumb modifiers through plane init")
Cc Linus Walleij <[email protected]>
Cc Janet Morgan <[email protected]>
Cc Ben Widawsky <[email protected]>
Cc Daniel Stone <[email protected]> (v2)
Cc Liviu Dudau <[email protected]>
Cc Daniel Stone <[email protected]>
---
 drivers/gpu/drm/tve200/tve200_display.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/tve200/tve200_display.c +1 -0
index 37fb333331f3..3f4b97bf2a13 100644
@@ -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;
Signature · 6 lines
2.13.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#1 lore raw

Sorry for the mobile email client, but:

Quoted 32 lines · Rodrigo Vivi

This Fixes build on branches where we already have format-modifier.

Reference: https://lists.freedesktop.org/archives/dri-devel/2017-August/151044.html

Fixes e6fc3b68558e ("drm: Plumb modifiers through plane init")
Cc Linus Walleij <[email protected]>
Cc Janet Morgan <[email protected]>
Cc Ben Widawsky <[email protected]>
Cc Daniel Stone <[email protected]> (v2)
Cc Liviu Dudau <[email protected]>
Cc Daniel Stone <[email protected]>

---
drivers/gpu/drm/tve200/tve200_display.c | 1 +

1 file changed, 1 insertion(+)
drivers/gpu/drm/tve200/tve200_display.c +1 -0
index 37fb333331f3..3f4b97bf2a13 100644
@@ -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;
Signature · 1 line
2.13.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to Rodrigo Vivi
Quoted 4 lines · Rodrigo Vivi

This Fixes build on branches where we already have format-modifier.

Reference: https://lists.freedesktop.org/archives/dri-devel/2017-August/151044.html

Fixes e6fc3b68558e ("drm: Plumb modifiers through plane init")

tve200 was merged after this patch, the correct Fixes line would be:

Fixes 179c02fe90a4 ("drm/tve200: Add new driver for TVE200")

Linus, can you pls make sure that tve200 is enabled int the drm-rerere/*arm*defconfig files, to avoid this in the future? They're the recommended set to compile-test drm-misc (yes we should somehow bot-ify this, but oh well).

Thanks, Daniel

Quoted 30 lines
Cc Linus Walleij <[email protected]>
Cc Janet Morgan <[email protected]>
Cc Ben Widawsky <[email protected]>
Cc Daniel Stone <[email protected]> (v2)
Cc Liviu Dudau <[email protected]>
Cc Daniel Stone <[email protected]>
---
 drivers/gpu/drm/tve200/tve200_display.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/tve200/tve200_display.c +1 -0
index 37fb333331f3..3f4b97bf2a13 100644
@@ -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;
Signature · 6 lines
2.13.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw
Quoted 6 lines · Daniel Vetter
Quoted 4 lines · Rodrigo Vivi

This Fixes build on branches where we already have format-modifier.

Reference: https://lists.freedesktop.org/archives/dri-devel/2017-August/151044.html

Fixes e6fc3b68558e ("drm: Plumb modifiers through plane init")
Quoted 8 lines

tve200 was merged after this patch, the correct Fixes line would be:

Fixes 179c02fe90a4 ("drm/tve200: Add new driver for TVE200")

Linus, can you pls make sure that tve200 is enabled int the drm-rerere/*arm*defconfig files, to avoid this in the future? They're the recommended set to compile-test drm-misc (yes we should somehow bot-ify this, but oh well).

Neither Rodrigo (as the author of the patch) or Linus (as the driver maintainer) took action here already, and since it's an obvious compile fail it's annoying, so I merged it.

But really this entire commit rights thing means committer take care of this stuff, not maintainers.

Linus, I also added tve200 to the defconfigs now.
-Daniel

Quoted 38 lines

Thanks, Daniel

Quoted 30 lines
Cc Linus Walleij <[email protected]>
Cc Janet Morgan <[email protected]>
Cc Ben Widawsky <[email protected]>
Cc Daniel Stone <[email protected]> (v2)
Cc Liviu Dudau <[email protected]>
Cc Daniel Stone <[email protected]>
---
 drivers/gpu/drm/tve200/tve200_display.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/tve200/tve200_display.c +1 -0
index 37fb333331f3..3f4b97bf2a13 100644
@@ -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;
Signature · 6 lines
2.13.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw
Quoted 7 lines · Daniel Vetter
Quoted 6 lines · Daniel Vetter
Quoted 4 lines · Rodrigo Vivi

This Fixes build on branches where we already have format-modifier.

Reference: https://lists.freedesktop.org/archives/dri-devel/2017-August/151044.html

Fixes e6fc3b68558e ("drm: Plumb modifiers through plane init")
Quoted 8 lines
Quoted 8 lines

tve200 was merged after this patch, the correct Fixes line would be:

Fixes 179c02fe90a4 ("drm/tve200: Add new driver for TVE200")

Linus, can you pls make sure that tve200 is enabled int the drm-rerere/*arm*defconfig files, to avoid this in the future? They're the recommended set to compile-test drm-misc (yes we should somehow bot-ify this, but oh well).

Oh I was not aware of that, sorry.

Quoted 3 lines

Neither Rodrigo (as the author of the patch) or Linus (as the driver maintainer) took action here already, and since it's an obvious compile fail it's annoying, so I merged it.

Thanks.

Quoted 4 lines

But really this entire commit rights thing means committer take care of this stuff, not maintainers.

Linus, I also added tve200 to the defconfigs now.

Thanks, I was just about to ask how to do it.

I will look in drm-rerere folder and try to figure out how this works so I can get it right in the future.

Yours,
Linus Walleij
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel