[PATCH] drm/i915/display: add audio dis/enable when connector hotplug

2025-03-24 Thread Lu Yao
l having a HDMI/DP audio output choice. Signed-off-by: Lu Yao --- drivers/gpu/drm/i915/display/intel_hotplug.c | 31 1 file changed, 31 insertions(+) --- Test hardware: CPU: i5-12500 GPU: UHD Graphics 770 diff --git a/drivers/gpu/drm/i915/display/intel_hotplug.c b/drive

[PATCH] drm/i915: Handle null 'fb' in 'intel_plane_atomic_check_with_state'

2025-01-21 Thread Lu Yao
Add null pointer check before use fb. Reported by smatch. Signed-off-by: Lu Yao --- drivers/gpu/drm/i915/display/intel_atomic_plane.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_atomic_plane.c b/drivers/gpu/drm/i915/display