drm/atmel: Fixup drm_connector_/unplug/unregister/_all
PATCH 1/1 drm/atmel: Fixup drm_connector_/unplug/unregister/_all
Accidentally fell through the cracks in
commit 6c87e5c3ec6db052f3744804a517b6fb003906e1
Author: Alexey Brodkin <[email protected]> Date: Wed Mar 23 11:42:54 2016 +0300
drm: Rename drm_connector_unplug_all() to drm_connector_unregister_all()
despite that Boris acked that patch.
--- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c +1 -1
@@ -615,7 +615,7 @@ err:static void atmel_hlcdc_dc_connector_unplug_all (struct drm_device *dev) {mutex_lock (&dev->mode_config.mutex); -drm_connector_unplug_all (dev); +drm_connector_unregister_all (dev);mutex_unlock (&dev->mode_config.mutex); }
Signature · 6 lines
2.8.0.rc3 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi Daniel,
Quoted 24 lines · Daniel Vetter
Accidentally fell through the cracks in
commit
6c87e5c3ec6db052f3744804a517b6fb003906e1
Author: Alexey Brodkin <[email protected]> Date: Wed Mar 23 11:42:54 2016 +0300drm: Rename
drm_connector_unplug_all()todrm_connector_unregister_all()despite that Boris acked that patch.
Cc Boris Brezillon <[email protected]>Cc Alexey Brodkin <[email protected]>Acked-by Boris Brezillon <[email protected]>Reported-by kbuild test robot <[email protected]>Signed-off-by Daniel Vetter <[email protected]>---
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c +0
-0
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c err: · line 620
Quoted 7 lines
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c +1
-1@@ -615,7 +615,7 @@ err: static void atmel_hlcdc_dc_connector_unplug_all(struct drm_device *dev) { mutex_lock(&dev->mode_config.mutex); -drm_connector_unplug_all (dev); +drm_connector_unregister_all (dev); mutex_unlock(&dev->mode_config.mutex); }
Isn't done in my "[PATCH 2/3 v5] drm: atmel_hldc: Use generic drm_connector_register_all() helper"?
-Alexey
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 12 lines · On Tue, 29 Mar 2016 12:25:55 +0000 Alexey Brodkin…
Hi Daniel,
Quoted 9 lines · Daniel Vetter
Accidentally fell through the cracks in
commit
6c87e5c3ec6db052f3744804a517b6fb003906e1
Author: Alexey Brodkin <[email protected]> Date: Wed Mar 23 11:42:54 2016 +0300drm: Rename
drm_connector_unplug_all()todrm_connector_unregister_all()despite that Boris acked that patch.
My apologies for putting my ack on something I didn't even compile test.
Quoted 10 lines
Quoted 10 lines
Cc Boris Brezillon <[email protected]>Cc Alexey Brodkin <[email protected]>Acked-by Boris Brezillon <[email protected]>Reported-by kbuild test robot <[email protected]>Signed-off-by Daniel Vetter <[email protected]>---
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 14 lines
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c err: · line 620
Quoted 12 lines
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c +1
-1@@ -615,7 +615,7 @@ err: static void atmel_hlcdc_dc_connector_unplug_all(struct drm_device *dev) { mutex_lock(&dev->mode_config.mutex); -drm_connector_unplug_all (dev); +drm_connector_unregister_all (dev); mutex_unlock(&dev->mode_config.mutex); }Isn't done in my "[PATCH 2/3 v5] drm:
atmel_hldc: Use genericdrm_connector_register_all()helper"?
This is fixing v3 of your series. Apparently this problem is fixed in v4 and v5.
Signature · 7 lines
Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 22 lines · Alexey Brodkin
Hi Daniel,
Quoted 19 lines · Daniel Vetter
Accidentally fell through the cracks in
commit
6c87e5c3ec6db052f3744804a517b6fb003906e1
Author: Alexey Brodkin <[email protected]> Date: Wed Mar 23 11:42:54 2016 +0300drm: Rename
drm_connector_unplug_all()todrm_connector_unregister_all()despite that Boris acked that patch.
Cc Boris Brezillon <[email protected]>Cc Alexey Brodkin <[email protected]>Acked-by Boris Brezillon <[email protected]>Reported-by kbuild test robot <[email protected]>Signed-off-by Daniel Vetter <[email protected]>---
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 14 lines
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c err: · line 620
Quoted 12 lines
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c +1
-1@@ -615,7 +615,7 @@ err: static void atmel_hlcdc_dc_connector_unplug_all(struct drm_device *dev) { mutex_lock(&dev->mode_config.mutex); -drm_connector_unplug_all (dev); +drm_connector_unregister_all (dev); mutex_unlock(&dev->mode_config.mutex); }Isn't done in my "[PATCH 2/3 v5] drm:
atmel_hldc: Use genericdrm_connector_register_all()helper"?
Yes, but splitting it like that breaks bisectability, which isn't good. Also your atmel change drops the mode_config.mutex. We might want to have that part in a separate patch, so that the atmel patch only switches over to the register_all helper.
-Daniel
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 24 lines · Daniel Vetter
Accidentally fell through the cracks in
commit
6c87e5c3ec6db052f3744804a517b6fb003906e1Author: Alexey Brodkin <[email protected]> Date: Wed Mar 23 11:42:54 2016 +0300drm: Rename
drm_connector_unplug_all()todrm_connector_unregister_all()despite that Boris acked that patch.
Cc Boris Brezillon <[email protected]>Cc Alexey Brodkin <[email protected]>Acked-by Boris Brezillon <[email protected]>Reported-by kbuild test robot <[email protected]>Signed-off-by Daniel Vetter <[email protected]>--- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c +0
-0
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c err: · line 621
Quoted 8 lines
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c +1
-1@@ -615,7 +615,7 @@ err:static void atmel_hlcdc_dc_connector_unplug_all (struct drm_device *dev) {mutex_lock (&dev->mode_config.mutex); -drm_connector_unplug_all (dev); +drm_connector_unregister_all (dev);mutex_unlock (&dev->mode_config.mutex); }
I think the locking here is completely unnecessary, since drm_connector_unregister_all() doesn't actually do anything with the connector object as far as DRM device is concerned, it merely removes it from sysfs and debugfs.
But given that I sent out almost the same patch earlier, and this does fix a build failure:
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel