summaryrefslogtreecommitdiff
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2024-11-20 14:30:32 +0300
committerJani Nikula <jani.nikula@intel.com>2024-11-22 14:56:35 +0300
commit1fbad9acb10cbda4286f4a4776783221603c6e2a (patch)
treea3145425e0a63569ccb19145da94ceb20bd01fac /rust/helpers/mutex.c
parentd9b31d6accc40b83457585c853c5b3029b33c324 (diff)
downloadlinux-1fbad9acb10cbda4286f4a4776783221603c6e2a.tar.xz
drm/i915/irq: hide display_irqs_enabled access
Move the check for display_irqs_enabled within vlv_display_irq_reset() and vlv_display_irq_postinstall() to avoid looking at struct intel_display members within i915 core irq code. Within display irq code, vlv_display_irq_reset() may need to be called with !display_irqs_enabled, so add a small wrapper. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/ef43e26ebab7f84768391f5053c0eba44b647c89.1732102179.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions