aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-12-17 10:41:41 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-12-17 16:04:47 -0500
commitb46004b70367974d5318caeabfd435017adf9e2a (patch)
tree8c97ce9a5fabf5de175615b2a362ff327416c281 /include/drm
parent261ea74f3689a997502f1264494f1749951a05a8 (diff)
drm: Move IRQ related fields to proper section
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>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drmP.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 8ba35c622e22..7cd1c681a792 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -744,8 +744,6 @@ struct drm_device {
744 744
745 /** \name Context support */ 745 /** \name Context support */
746 /*@{ */ 746 /*@{ */
747 bool irq_enabled; /**< True if irq handler is enabled */
748 int irq;
749 747
750 __volatile__ long context_flag; /**< Context swapping flag */ 748 __volatile__ long context_flag; /**< Context swapping flag */
751 int last_context; /**< Last current context */ 749 int last_context; /**< Last current context */
@@ -753,6 +751,8 @@ struct drm_device {
753 751
754 /** \name VBLANK IRQ support */ 752 /** \name VBLANK IRQ support */
755 /*@{ */ 753 /*@{ */
754 bool irq_enabled;
755 int irq;
756 756
757 /* 757 /*
758 * At load time, disabling the vblank interrupt won't be allowed since 758 * At load time, disabling the vblank interrupt won't be allowed since