mirror-linux/drivers/gpu
Meenakshikumar Somasundaram 89939cf252 drm/amd/display: Fix NULL pointer dereference
[Why]
On a mst branch with multi display setup, dc context is obselete
after updating the first stream. Referencing the same dc context
for the next stream update to fetch dc pointer leads to NULL
pointer dereference.

[How]
Get the dc pointer from the link rather than context.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Signed-off-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit dc69b48988)
Cc: stable@vger.kernel.org
2025-10-21 09:45:33 -04:00
..
drm drm/amd/display: Fix NULL pointer dereference 2025-10-21 09:45:33 -04:00
host1x
ipu-v3
nova-core drm next for 6.18-rc1 2025-10-02 12:47:25 -07:00
trace
vga vga_switcheroo: Use pci_is_display() 2025-07-17 15:30:13 -05:00
Makefile