Skip to content

Commit

Permalink
drm: Move IRQ related fields to proper section
Browse files Browse the repository at this point in the history
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@nvidia.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Thierry Reding authored and Daniel Vetter committed Dec 17, 2014
1 parent 261ea74 commit b46004b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/drm/drmP.h
Original file line number Diff line number Diff line change
Expand Up @@ -744,15 +744,15 @@ 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 */
/*@} */

/** \name VBLANK IRQ support */
/*@{ */
bool irq_enabled;
int irq;

/*
* At load time, disabling the vblank interrupt won't be allowed since
Expand Down

0 comments on commit b46004b

Please sign in to comment.