diff options
author | Jani Nikula <jani.nikula@intel.com> | 2024-04-08 21:08:39 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-04-09 11:31:12 +0300 |
commit | 53e8de10f213edcab65b7b1700e91c271ad93718 (patch) | |
tree | 0a09af36296b5cf2522c3a2b5d0848b6f1d3cb32 /drivers/gpu/drm/i915/display/intel_display_core.h | |
parent | 8219ab6d6f0d77f1b0bad194ad244ad752a7f3c3 (diff) | |
download | linux-53e8de10f213edcab65b7b1700e91c271ad93718.tar.xz |
drm/i915: move vblank_enabled to display substruct
The info is related to display, and should be placed under
i915->display. Start a new irq sub-substruct.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Acked-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/eb89ed70020ea78396e1fec6f1a97693f2bdb96b.1712599670.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_display_core.h')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_display_core.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_display_core.h b/drivers/gpu/drm/i915/display/intel_display_core.h index eed9be8e9f49..52f7d6e0324f 100644 --- a/drivers/gpu/drm/i915/display/intel_display_core.h +++ b/drivers/gpu/drm/i915/display/intel_display_core.h @@ -448,6 +448,11 @@ struct intel_display { } ips; struct { + /* For i915gm/i945gm vblank irq workaround */ + u8 vblank_enabled; + } irq; + + struct { wait_queue_head_t waitqueue; /* mutex to protect pmdemand programming sequence */ |