kernel_samsung_a53x/drivers/gpu/drm/amd
Wayne Lin e511ab44c6 drm/amd/display: Avoid NULL dereference of timing generator
[ Upstream commit b1904ed480cee3f9f4036ea0e36d139cb5fee2d6 ]

[Why & How]
Check whether assigned timing generator is NULL or not before
accessing its funcs to prevent NULL dereference.

Reviewed-by: Jun Lei <jun.lei@amd.com>
Acked-by: Hersen Wu <hersenxs.wu@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 11:43:15 +01:00
..
acp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amdgpu drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL 2024-11-18 11:43:13 +01:00
amdkfd Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
display drm/amd/display: Avoid NULL dereference of timing generator 2024-11-18 11:43:15 +01:00
include drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7 2024-11-18 11:43:13 +01:00
pm drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga 2024-11-18 11:43:13 +01:00