[PATCH 2/4] drm: Move IRQ related fields to proper section

Alex Deucher alexdeucher at gmail.com
Wed Dec 17 12:41:34 PST 2014


On Wed, Dec 17, 2014 at 10:41 AM, Thierry Reding
<thierry.reding at gmail.com> wrote:
> From: Thierry Reding <treding at nvidia.com>
>
> The .irq and .irq_enabled fields are part of the VBLANK interrupt
> handling infrastructure, so move them to the appropriate section within
> the structure.
>
> Signed-off-by: Thierry Reding <treding at nvidia.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  include/drm/drmP.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/drm/drmP.h b/include/drm/drmP.h
> index 227e67c52d5e..c05289d1d5f6 100644
> --- a/include/drm/drmP.h
> +++ b/include/drm/drmP.h
> @@ -744,8 +744,6 @@ struct drm_device {
>
>         /** \name Context support */
>         /*@{ */
> -       bool irq_enabled;               /**< True if irq handler is enabled */
> -       int irq;
>
>         __volatile__ long context_flag; /**< Context swapping flag */
>         int last_context;               /**< Last current context */
> @@ -753,6 +751,8 @@ struct drm_device {
>
>         /** \name VBLANK IRQ support */
>         /*@{ */
> +       bool irq_enabled;
> +       int irq;
>
>         /*
>          * At load time, disabling the vblank interrupt won't be allowed since
> --
> 2.1.3
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list