drm/i915/lobf: Add mutex for alpm update
authorAnimesh Manna <animesh.manna@intel.com>
Wed, 23 Apr 2025 09:23:31 +0000 (14:53 +0530)
committerAnimesh Manna <animesh.manna@intel.com>
Thu, 24 Apr 2025 08:24:57 +0000 (13:54 +0530)
commitacff6d6bded31d98698693827860adc5befdd854
tree6f9c49855bf5c58c3d853f72859fb5a10a15cb50
parent917abe4bc7e5701509933e1be5022ff3c052ed13
drm/i915/lobf: Add mutex for alpm update

The ALPM_CTL can be updated from different context, so
add mutex to sychonize the update.

Signed-off-by: Animesh Manna <animesh.manna@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://lore.kernel.org/r/20250423092334.2294483-9-animesh.manna@intel.com
drivers/gpu/drm/i915/display/intel_alpm.c
drivers/gpu/drm/i915/display/intel_alpm.h
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_dp.c