Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b46004b7 authored by Thierry Reding's avatar Thierry Reding Committed by Daniel Vetter
Browse files

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: default avatarThierry Reding <treding@nvidia.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 261ea74f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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