diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-10-01 22:58:02 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-10-03 14:40:30 +0300 |
commit | f45cc1d373aeeabaaed0cef6c938bfcbbbd9962f (patch) | |
tree | f3b158e2277f4e0e3e575f41ffd670f730a72e27 /tools/perf/scripts/python/gecko.py | |
parent | 8923422ba48f548f046d8d3c9f0244086c794214 (diff) |
drm/i915: Extract i915gm_irq_cstate_wa_{disable,enable}()
Extract the i915gm/i945gm vblank irq C-state workaround to
separate functions. We'll need to reuse these in order to
guarantee timely CRC interrupt delivery as well.
The irq.vblank_enabled count is currently protected by the
drm vblank locks, so let's assert that the innermost of those
is held, in anticipation of other callers.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241001195803.3371-4-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions