]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: synchronize_irq() against the actual irq
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 2 Jul 2019 15:17:23 +0000 (18:17 +0300)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 Jul 2019 09:07:13 +0000 (10:07 +0100)
commit521a0c9a13be74d5e9852caf05ad0b0d286e644c
tree33ce4467d28ba46b4b8eed8c53d65cb960b1e67d
parentb7f3d3e17996eab4b98382695f41dfe68057481a
drm/i915: synchronize_irq() against the actual irq

When eliminating our use of drm_irq_install() I failed to convert
all our synchronize_irq() calls to consult pdev->irq instead of
dev_priv->drm.irq. As we no longer populate dev_priv->drm.irq
we're no longer synchronizing against anything.

v2: Add intel_syncrhonize_irq() (Chris)

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reported-by: Imre Deak <imre.deak@intel.com>
Fixes: 92893a8bfadf ("drm/i915: Nuke drm_driver irq vfuncs")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111012
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190702151723.29739-1-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/display/intel_pipe_crc.c
drivers/gpu/drm/i915/gt/intel_engine_cs.c
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_irq.h
drivers/gpu/drm/i915/intel_guc_log.c