* [PATCH] drm/omapdrm: Remove outdated comment
@ 2021-07-06 7:31 Thomas Zimmermann
2021-07-15 8:13 ` Thomas Zimmermann
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Zimmermann @ 2021-07-06 7:31 UTC (permalink / raw)
To: tomba, airlied, daniel; +Cc: Thomas Zimmermann, dri-devel
The comment refers to drm_irq_install() et al, which are not used by
omapdrm. The functions are part of the DRM IRQ midlayer and shouldn't
be used any longer. Remove the comment.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
drivers/gpu/drm/omapdrm/omap_irq.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/gpu/drm/omapdrm/omap_irq.c b/drivers/gpu/drm/omapdrm/omap_irq.c
index bb6e3fc18204..4aca14dab927 100644
--- a/drivers/gpu/drm/omapdrm/omap_irq.c
+++ b/drivers/gpu/drm/omapdrm/omap_irq.c
@@ -253,13 +253,6 @@ static const u32 omap_underflow_irqs[] = {
[OMAP_DSS_VIDEO3] = DISPC_IRQ_VID3_FIFO_UNDERFLOW,
};
-/*
- * We need a special version, instead of just using drm_irq_install(),
- * because we need to register the irq via omapdss. Once omapdss and
- * omapdrm are merged together we can assign the dispc hwmod data to
- * ourselves and drop these and just use drm_irq_{install,uninstall}()
- */
-
int omap_drm_irq_install(struct drm_device *dev)
{
struct omap_drm_private *priv = dev->dev_private;
--
2.32.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/omapdrm: Remove outdated comment
2021-07-06 7:31 [PATCH] drm/omapdrm: Remove outdated comment Thomas Zimmermann
@ 2021-07-15 8:13 ` Thomas Zimmermann
2021-07-15 8:48 ` Daniel Vetter
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Zimmermann @ 2021-07-15 8:13 UTC (permalink / raw)
To: tomba, airlied, daniel; +Cc: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1426 bytes --]
ping for review
Am 06.07.21 um 09:31 schrieb Thomas Zimmermann:
> The comment refers to drm_irq_install() et al, which are not used by
> omapdrm. The functions are part of the DRM IRQ midlayer and shouldn't
> be used any longer. Remove the comment.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
> ---
> drivers/gpu/drm/omapdrm/omap_irq.c | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git a/drivers/gpu/drm/omapdrm/omap_irq.c b/drivers/gpu/drm/omapdrm/omap_irq.c
> index bb6e3fc18204..4aca14dab927 100644
> --- a/drivers/gpu/drm/omapdrm/omap_irq.c
> +++ b/drivers/gpu/drm/omapdrm/omap_irq.c
> @@ -253,13 +253,6 @@ static const u32 omap_underflow_irqs[] = {
> [OMAP_DSS_VIDEO3] = DISPC_IRQ_VID3_FIFO_UNDERFLOW,
> };
>
> -/*
> - * We need a special version, instead of just using drm_irq_install(),
> - * because we need to register the irq via omapdss. Once omapdss and
> - * omapdrm are merged together we can assign the dispc hwmod data to
> - * ourselves and drop these and just use drm_irq_{install,uninstall}()
> - */
> -
> int omap_drm_irq_install(struct drm_device *dev)
> {
> struct omap_drm_private *priv = dev->dev_private;
> --
> 2.32.0
>
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/omapdrm: Remove outdated comment
2021-07-15 8:13 ` Thomas Zimmermann
@ 2021-07-15 8:48 ` Daniel Vetter
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Vetter @ 2021-07-15 8:48 UTC (permalink / raw)
To: Thomas Zimmermann; +Cc: Dave Airlie, dri-devel, Tomi Valkeinen
On Thu, Jul 15, 2021 at 10:13 AM Thomas Zimmermann <tzimmermann@suse.de> wrote:
>
> ping for review
>
> Am 06.07.21 um 09:31 schrieb Thomas Zimmermann:
> > The comment refers to drm_irq_install() et al, which are not used by
> > omapdrm. The functions are part of the DRM IRQ midlayer and shouldn't
> > be used any longer. Remove the comment.
> >
> > Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> > ---
> > drivers/gpu/drm/omapdrm/omap_irq.c | 7 -------
> > 1 file changed, 7 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/omapdrm/omap_irq.c b/drivers/gpu/drm/omapdrm/omap_irq.c
> > index bb6e3fc18204..4aca14dab927 100644
> > --- a/drivers/gpu/drm/omapdrm/omap_irq.c
> > +++ b/drivers/gpu/drm/omapdrm/omap_irq.c
> > @@ -253,13 +253,6 @@ static const u32 omap_underflow_irqs[] = {
> > [OMAP_DSS_VIDEO3] = DISPC_IRQ_VID3_FIFO_UNDERFLOW,
> > };
> >
> > -/*
> > - * We need a special version, instead of just using drm_irq_install(),
> > - * because we need to register the irq via omapdss. Once omapdss and
> > - * omapdrm are merged together we can assign the dispc hwmod data to
> > - * ourselves and drop these and just use drm_irq_{install,uninstall}()
> > - */
> > -
> > int omap_drm_irq_install(struct drm_device *dev)
> > {
> > struct omap_drm_private *priv = dev->dev_private;
> > --
> > 2.32.0
> >
>
> --
> Thomas Zimmermann
> Graphics Driver Developer
> SUSE Software Solutions Germany GmbH
> Maxfeldstr. 5, 90409 Nürnberg, Germany
> (HRB 36809, AG Nürnberg)
> Geschäftsführer: Felix Imendörffer
>
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-07-15 8:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-06 7:31 [PATCH] drm/omapdrm: Remove outdated comment Thomas Zimmermann
2021-07-15 8:13 ` Thomas Zimmermann
2021-07-15 8:48 ` Daniel Vetter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.