kernel_samsung_a53x/drivers/gpu/drm/amd
Sung Joon Kim e87592f5e7 drm/amd/display: Check for NULL pointer
commit 4ab68e168ae1695f7c04fae98930740aaf7c50fa upstream.

[why & how]
Need to make sure plane_state is initialized
before accessing its members.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Xi (Alex) Liu <xi.liu@amd.com>
Signed-off-by: Sung Joon Kim <sungjoon.kim@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 295d91cbc700651782a60572f83c24861607b648)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:20:13 +01:00
..
acp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amdgpu drm/amdgpu: Fix signedness bug in sdma_v4_0_process_trap_irq() 2024-11-19 14:19:51 +01:00
amdkfd drm/amdkfd: Flush the process wq before creating a kfd_process 2024-11-19 12:26:52 +01:00
display drm/amd/display: Check for NULL pointer 2024-11-23 23:20:13 +01:00
include drm/amdgpu/atomfirmware: silence UBSAN warning 2024-11-19 14:19:42 +01:00
pm drm/amdgpu: fix UBSAN warning in kv_dpm.c 2024-11-19 14:19:31 +01:00