drm/hisilicon: Drop unused #include
Subsystems (3)
PATCH 1/1 drm/hisilicon: Drop unused #include
drm_encoder_slave is really not something anyone should be using, the last real user is only nouveau.
--- drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c +0 -1
@@ -20,7 +20,6 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_device.h> -#include <drm/drm_encoder_slave.h> #include <drm/drm_mipi_dsi.h> #include <drm/drm_of.h> #include <drm/drm_print.h>
Signature · 6 lines
2.25.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 11 lines · Daniel Vetter
drm_encoder_slaveis really not something anyone should be using, the last real user is only nouveau.Signed-off-by Daniel Vetter <[email protected]>Cc Boris Brezillon <[email protected]>Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Tomi Valkeinen <[email protected]>Cc Allison Randal <[email protected]>Cc Thomas Gleixner <[email protected]>Cc Laurent Pinchart <[email protected]>
I did throw this after my build setup - no problems.
drm_encoder_slave is also used by i2c/ch7006 - but this is a nouveau only driver so the explanation is also OK.
Sam
Quoted 23 lines
--- drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c +0
-1@@ -20,7 +20,6 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_device.h> -#include <drm/drm_encoder_slave.h> #include <drm/drm_mipi_dsi.h> #include <drm/drm_of.h> #include <drm/drm_print.h> Signature · 6 lines
2.25.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi Daniel,
Quoted 2 lines · Daniel Vetter
drm_encoder_slaveis really not something anyone should be using, the last real user is only nouveau.
Fully agreed.
Is there any plan to convert nouveau to drm_bridge ?
Quoted 24 lines
Signed-off-by Daniel Vetter <[email protected]>Cc Boris Brezillon <[email protected]>Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Tomi Valkeinen <[email protected]>Cc Allison Randal <[email protected]>Cc Thomas Gleixner <[email protected]>Cc Laurent Pinchart <[email protected]>--- drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c +0
-1@@ -20,7 +20,6 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_device.h> -#include <drm/drm_encoder_slave.h> #include <drm/drm_mipi_dsi.h> #include <drm/drm_of.h> #include <drm/drm_print.h>
Signature · 7 lines
Regards, Laurent Pinchart _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 11 lines · Laurent Pinchart
Hi Daniel,
Quoted 2 lines · Daniel Vetter
drm_encoder_slaveis really not something anyone should be using, the last real user is only nouveau.Fully agreed.
Reviewed-by Laurent Pinchart <[email protected]>Is there any plan to convert nouveau to
drm_bridge?
Apparently the only user in nouveau is for nv17 cards - after that the tv encoder is integrated. This is so old and cards rare (quick irc chat among the usual suspects suggested there might be none available anymore) that a quick rm might be the better solution than trying to convert this over to drm_bridge :-)
We should definitely look into pushing the drm_encoder_slave into drm/nouveau, and maybe delete drm/i2c. The other two things in there kinda don't belong - one isn't even a drm driver!
Cheers, Daniel
Quoted 30 lines
Quoted 25 lines
Signed-off-by Daniel Vetter <[email protected]>Cc Boris Brezillon <[email protected]>Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Tomi Valkeinen <[email protected]>Cc Allison Randal <[email protected]>Cc Thomas Gleixner <[email protected]>Cc Laurent Pinchart <[email protected]>--- drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c +0
-1@@ -20,7 +20,6 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_device.h> -#include <drm/drm_encoder_slave.h> #include <drm/drm_mipi_dsi.h> #include <drm/drm_of.h> #include <drm/drm_print.h> Signature · 3 lines
Regards, Laurent Pinchart
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
Quoted 19 lines · Daniel Vetter
Quoted 11 lines · Laurent Pinchart
Hi Daniel,
Quoted 2 lines · Daniel Vetter
drm_encoder_slaveis really not something anyone should be using, the last real user is only nouveau.Fully agreed.
Reviewed-by Laurent Pinchart <[email protected]>Is there any plan to convert nouveau to
drm_bridge?Apparently the only user in nouveau is for nv17 cards - after that the tv encoder is integrated. This is so old and cards rare (quick irc chat among the usual suspects suggested there might be none available anymore) that a quick rm might be the better solution than trying to convert this over to
drm_bridge:-)
Quoted 3 lines
We should definitely look into pushing the
drm_encoder_slaveinto drm/nouveau, and maybe delete drm/i2c. The other two things in there kinda don't belong - one isn't even a drm driver!
I was going to mention that :-) Pushing the last slave encoder driver into its only user would be a good way to ensure nobody will take the slave encoder path ever again.
Quoted 24 lines
Quoted 24 lines
Quoted 24 lines
Signed-off-by Daniel Vetter <[email protected]>Cc Boris Brezillon <[email protected]>Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Tomi Valkeinen <[email protected]>Cc Allison Randal <[email protected]>Cc Thomas Gleixner <[email protected]>Cc Laurent Pinchart <[email protected]>--- drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c +0
-1@@ -20,7 +20,6 @@#include <drm/drm_atomic_helper.h> #include <drm/drm_bridge.h> #include <drm/drm_device.h> -#include <drm/drm_encoder_slave.h> #include <drm/drm_mipi_dsi.h> #include <drm/drm_of.h> #include <drm/drm_print.h>
Signature · 7 lines
Regards, Laurent Pinchart _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel