summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
diff options
context:
space:
mode:
authorWayne Lin <wayne.lin@amd.com>2023-09-08 05:14:49 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-11-03 18:59:51 +0300
commitb1904ed480cee3f9f4036ea0e36d139cb5fee2d6 (patch)
treea236c1b0e198657b62626a8130949c7e4b2e4cf4 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
parentbe457b2252b6b49d74c4217224263c8d1e2a894d (diff)
downloadlinux-b1904ed480cee3f9f4036ea0e36d139cb5fee2d6.tar.xz
drm/amd/display: Avoid NULL dereference of timing generator
[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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
0 files changed, 0 insertions, 0 deletions