Skip to contentSkip to conversation

drm/hdlcd: remove drm_vblank_cleanup, rise of the zoombies edition

PATCH In review Daniel Vetter 3 participants 3 messages Jun 28, 2017

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

PATCH 1/1 drm/hdlcd: remove drm_vblank_cleanup, rise of the zoombies edition

This was accidentally restored in

commit de5cc8155cd250a31da67dea49aff7637ce98887

Author: Liviu Dudau <[email protected]>
Date:   Tue Jun 6 15:05:21 2017 +0100

drm/arm: hdlcd: Set the CRTC's port before binding the encoder

Fixes de5cc8155cd2 ("drm/arm: hdlcd: Set the CRTC's port before binding the encoder.")
Cc Liviu Dudau <[email protected]>
Cc Liviu Dudau <[email protected]>
Cc Brian Starkey <[email protected]>
Cc Mali DP Maintainers <[email protected]>
---
 drivers/gpu/drm/arm/hdlcd_drv.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/arm/hdlcd_drv.c +0 -2
index d3da87fbd85a..90bd97bf0013 100644
@@ -343,7 +343,6 @@ static int hdlcd_drm_bind(struct device *dev)
 	}
 err_fbdev:
 	drm_kms_helper_poll_fini(drm);
-	drm_vblank_cleanup(drm);
 err_vblank:
 	pm_runtime_disable(drm->dev);
 err_pm_active:
@@ -375,7 +374,6 @@ static void hdlcd_drm_unbind(struct device *dev)
 	component_unbind_all(dev, drm);
 	of_node_put(hdlcd->crtc.port);
 	hdlcd->crtc.port = NULL;
-	drm_vblank_cleanup(drm);
 	pm_runtime_get_sync(drm->dev);
 	drm_irq_uninstall(drm);
 	pm_runtime_put_sync(drm->dev);
Signature · 6 lines
2.11.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
maintainer
#1 lore raw
Quoted 8 lines · Daniel Vetter

This was accidentally restored in

commit de5cc8155cd250a31da67dea49aff7637ce98887

Author: Liviu Dudau <[email protected]>
Date:   Tue Jun 6 15:05:21 2017 +0100

drm/arm: hdlcd: Set the CRTC's port before binding the encoder

Oops, that was not the intent! Thanks for catching this!

Will pull and send a new pull request to Dave, hope I get it on time before he leaves this week.

Best regards,
Liviu

Quoted 33 lines
Fixes de5cc8155cd2 ("drm/arm: hdlcd: Set the CRTC's port before binding the encoder.")
Cc Liviu Dudau <[email protected]>
Cc Liviu Dudau <[email protected]>
Cc Brian Starkey <[email protected]>
Cc Mali DP Maintainers <[email protected]>
---
 drivers/gpu/drm/arm/hdlcd_drv.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/arm/hdlcd_drv.c +0 -2
index d3da87fbd85a..90bd97bf0013 100644
@@ -343,7 +343,6 @@ static int hdlcd_drm_bind(struct device *dev)
 	}
 err_fbdev:
 	drm_kms_helper_poll_fini(drm);
-	drm_vblank_cleanup(drm);
 err_vblank:
 	pm_runtime_disable(drm->dev);
 err_pm_active:
@@ -375,7 +374,6 @@ static void hdlcd_drm_unbind(struct device *dev)
 	component_unbind_all(dev, drm);
 	of_node_put(hdlcd->crtc.port);
 	hdlcd->crtc.port = NULL;
-	drm_vblank_cleanup(drm);
 	pm_runtime_get_sync(drm->dev);
 	drm_irq_uninstall(drm);
 	pm_runtime_put_sync(drm->dev);
Signature · 1 line
2.11.0
Signature · 12 lines
====================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---------------
    ¯\_(ツ)_/¯
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw
Quoted 7 lines · Liviu Dudau
Quoted 6 lines · Daniel Vetter

This was accidentally restored in

commit de5cc8155cd250a31da67dea49aff7637ce98887

Author: Liviu Dudau <[email protected]>
Date:   Tue Jun 6 15:05:21 2017 +0100
Quoted 7 lines
Quoted 2 lines

drm/arm: hdlcd: Set the CRTC's port before binding the encoder

Oops, that was not the intent! Thanks for catching this!

Will pull and send a new pull request to Dave, hope I get it on time before he leaves this week.

As discussed on irc I've pulled this into drm-misc-next so I can apply the drm_vblank_cleanup.

Thanks, Daniel

Quoted 48 lines

Best regards,
Liviu

Quoted 33 lines
Fixes de5cc8155cd2 ("drm/arm: hdlcd: Set the CRTC's port before binding the encoder.")
Cc Liviu Dudau <[email protected]>
Cc Liviu Dudau <[email protected]>
Cc Brian Starkey <[email protected]>
Cc Mali DP Maintainers <[email protected]>
---
 drivers/gpu/drm/arm/hdlcd_drv.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/arm/hdlcd_drv.c +0 -2
index d3da87fbd85a..90bd97bf0013 100644
@@ -343,7 +343,6 @@ static int hdlcd_drm_bind(struct device *dev)
 	}
 err_fbdev:
 	drm_kms_helper_poll_fini(drm);
-	drm_vblank_cleanup(drm);
 err_vblank:
 	pm_runtime_disable(drm->dev);
 err_pm_active:
@@ -375,7 +374,6 @@ static void hdlcd_drm_unbind(struct device *dev)
 	component_unbind_all(dev, drm);
 	of_node_put(hdlcd->crtc.port);
 	hdlcd->crtc.port = NULL;
-	drm_vblank_cleanup(drm);
 	pm_runtime_get_sync(drm->dev);
 	drm_irq_uninstall(drm);
 	pm_runtime_put_sync(drm->dev);
Signature · 1 line
2.11.0
Signature · 8 lines
====================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---------------
    ¯\_(ツ)_/¯
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