drm/xe: Annotate mcr_[un]lock()
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Wed, 17 Jan 2024 13:40:46 +0000 (14:40 +0100)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Wed, 31 Jan 2024 13:34:35 +0000 (14:34 +0100)
commit97fd7a7e4e877676a2ab1a687ba958b70931abcc
tree6792b21ce95f32469ddc5e5c35ccc3faca81055e
parent1e5a4dfe3834dae4b97a3b26d6fb9a632667946a
drm/xe: Annotate mcr_[un]lock()

These functions acquire and release the gt::mcr_lock. Annotate
accordingly.
Fix the corresponding sparse warning.

Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Fixes: fb1d55efdfcb ("drm/xe: Cleanup OPEN_BRACE style issues")
Cc: Francois Dugast <francois.dugast@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240117134048.165425-4-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/xe/xe_gt_mcr.c