diff options
author | Jani Nikula <jani.nikula@intel.com> | 2023-05-04 19:57:29 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2023-05-11 18:43:44 +0300 |
commit | 685282a3b39be5be000d28c8b88a3e0cae195104 (patch) | |
tree | 0f16e5f27f33c00dad74d775df110ff108d11704 /drivers/gpu/drm/i915/display/intel_dp_aux.c | |
parent | 2bea1d7c594dd0643db23a8131c689384d0e5d8c (diff) | |
download | linux-685282a3b39be5be000d28c8b88a3e0cae195104.tar.xz |
drm/i915/irq: relocate gmbus and dp aux irq handlers
Move gmbus and dp aux irq handlers to their respective files. It should
be up to them what to do with the irq, not the generic irq code.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/e825385fc03cb3d53c1f0b66712eea42dad69d59.1683219363.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_aux.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp_aux.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp_aux.c b/drivers/gpu/drm/i915/display/intel_dp_aux.c index 25e36bdc4adb..0c27db8ae4f1 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_aux.c +++ b/drivers/gpu/drm/i915/display/intel_dp_aux.c @@ -814,3 +814,8 @@ enum aux_ch intel_dp_aux_ch(struct intel_encoder *encoder) return aux_ch; } + +void intel_dp_aux_irq_handler(struct drm_i915_private *i915) +{ + wake_up_all(&i915->display.gmbus.wait_queue); +} |