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>
This commit is contained in:
Родитель
261ea74f36
Коммит
b46004b703
|
@ -744,8 +744,6 @@ struct drm_device {
|
||||||
|
|
||||||
/** \name Context support */
|
/** \name Context support */
|
||||||
/*@{ */
|
/*@{ */
|
||||||
bool irq_enabled; /**< True if irq handler is enabled */
|
|
||||||
int irq;
|
|
||||||
|
|
||||||
__volatile__ long context_flag; /**< Context swapping flag */
|
__volatile__ long context_flag; /**< Context swapping flag */
|
||||||
int last_context; /**< Last current context */
|
int last_context; /**< Last current context */
|
||||||
|
@ -753,6 +751,8 @@ struct drm_device {
|
||||||
|
|
||||||
/** \name VBLANK IRQ support */
|
/** \name VBLANK IRQ support */
|
||||||
/*@{ */
|
/*@{ */
|
||||||
|
bool irq_enabled;
|
||||||
|
int irq;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* At load time, disabling the vblank interrupt won't be allowed since
|
* At load time, disabling the vblank interrupt won't be allowed since
|
||||||
|
|
Загрузка…
Ссылка в новой задаче