From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Daniel Vetter <daniel.vetter@intel.com>,
Intel Graphics Development <intel-gfx@lists.freedesktop.org>,
DRI Development <dri-devel@lists.freedesktop.org>
Subject: Re: [PATCH 09/13] drm/shmob: Drop drm_vblank_cleanup
Date: Wed, 21 Jun 2017 12:12:02 +0300 [thread overview]
Message-ID: <1845294.gRlrY1efW0@avalon> (raw)
In-Reply-To: <20170621082850.13224-10-daniel.vetter@ffwll.ch>
Hi Daniel,
Thank you for the patch.
On Wednesday 21 Jun 2017 10:28:46 Daniel Vetter wrote:
> It doesn't do anything in the driver load error paths that the drm
> core doesn't also do.
If I understand the code correctly, this patch is fine because drm_dev_fini(),
called ultimately from drm_dev_release(), calls drm_vblank_cleanup(). The
commit message could be a bit more explicit. Apart from that,
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
> ---
> drivers/gpu/drm/shmobile/shmob_drm_drv.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/shmobile/shmob_drm_drv.c
> b/drivers/gpu/drm/shmobile/shmob_drm_drv.c index 800d1d2c435d..c2ca07357aac
> 100644
> --- a/drivers/gpu/drm/shmobile/shmob_drm_drv.c
> +++ b/drivers/gpu/drm/shmobile/shmob_drm_drv.c
> @@ -277,7 +277,7 @@ static int shmob_drm_probe(struct platform_device *pdev)
> ret = drm_irq_install(ddev, platform_get_irq(pdev, 0));
> if (ret < 0) {
> dev_err(&pdev->dev, "failed to install IRQ handler\n");
> - goto err_vblank_cleanup;
> + goto err_modeset_cleanup;
> }
>
> /*
> @@ -292,8 +292,6 @@ static int shmob_drm_probe(struct platform_device *pdev)
>
> err_irq_uninstall:
> drm_irq_uninstall(ddev);
> -err_vblank_cleanup:
> - drm_vblank_cleanup(ddev);
> err_modeset_cleanup:
> drm_kms_helper_poll_fini(ddev);
> drm_mode_config_cleanup(ddev);
--
Regards,
Laurent Pinchart
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2017-06-21 9:12 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-21 8:28 [PATCH 00/13] RESEND: remove drm_vblank_cleanup from drivers Daniel Vetter
2017-06-21 8:28 ` [PATCH 01/13] drm/amd|radeon: Drop drm_vblank_cleanup Daniel Vetter
2017-06-22 12:54 ` Alex Deucher
2017-06-23 8:41 ` Daniel Vetter
2017-06-21 8:28 ` [PATCH 02/13] drm/hibmc: " Daniel Vetter
2017-06-21 8:28 ` [PATCH 03/13] drm/kirin: " Daniel Vetter
2017-06-21 8:28 ` [PATCH 04/13] drm/i915: " Daniel Vetter
2017-06-21 8:28 ` [PATCH 05/13] drm/mtk: " Daniel Vetter
2017-06-21 8:28 ` [PATCH 06/13] drm/mxsfb: " Daniel Vetter
2017-06-22 10:48 ` Marek Vasut
2017-06-21 8:28 ` [PATCH 07/13] drm/nouveau: " Daniel Vetter
2017-06-21 8:28 ` [PATCH 08/13] drm/rockchip: " Daniel Vetter
2017-06-23 14:06 ` Sean Paul
2017-06-21 8:28 ` [PATCH 09/13] drm/shmob: " Daniel Vetter
2017-06-21 9:12 ` Laurent Pinchart [this message]
2017-06-22 6:40 ` Daniel Vetter
2017-06-21 8:28 ` [PATCH 10/13] drm/udl: " Daniel Vetter
2017-06-21 8:28 ` [PATCH 11/13] drm/vmwgfx: " Daniel Vetter
2017-06-23 14:10 ` Sean Paul
2017-06-26 12:22 ` Thomas Hellstrom
2017-06-21 8:28 ` [PATCH 12/13] drm/zte: " Daniel Vetter
2017-06-21 11:59 ` Shawn Guo
2017-06-21 8:28 ` [PATCH 13/13] drm/vblank: Unexport drm_vblank_cleanup Daniel Vetter
2017-06-22 12:56 ` Alex Deucher
2017-06-21 8:52 ` ✗ Fi.CI.BAT: warning for RESEND: remove drm_vblank_cleanup from drivers Patchwork
2017-06-23 14:58 ` [PATCH 00/13] " Sean Paul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1845294.gRlrY1efW0@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=daniel.vetter@ffwll.ch \
--cc=daniel.vetter@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox