summaryrefslogtreecommitdiff
path: root/rust/helpers/pci.c
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2025-05-20 12:53:53 +0300
committerMika Kahola <mika.kahola@intel.com>2025-06-05 16:07:54 +0300
commit7247efca0dcbc8ac6147db9200ed1549c0662465 (patch)
tree3e76a177b976903faf6f218cb25d5c57e69a2888 /rust/helpers/pci.c
parentbabe098c5fb4e401127cb1e18256aa4db0f89571 (diff)
drm/i915: use drm_modeset_lock_assert_held() in intel_connector_get_pipe()
In the intel_connector_get_pipe() function, we check if connection_mutex is held and generate our own WARN_ON if that's the case. Instead of generating a non-standard warning for a mutex issue, we should use the standard lockdep framework. Change the function to use drm_modeset_lock_assert_held() instead. Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Mika Kahola <mika.kahola@intel.com> Link: https://lore.kernel.org/r/20250520095408.1310440-1-luciano.coelho@intel.com
Diffstat (limited to 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions