aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorHarry VanZyllDeJong <hvanzyll@amd.com>2022-01-11 15:11:42 -0500
committerAlex Deucher <alexander.deucher@amd.com>2022-04-12 14:17:48 -0400
commitda8c25929b78b39438eb62b87e213c45dfad6038 (patch)
treec18f6ad3f574380d34a5e2e93af81da8fe6db330 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parent9e6a04651e0231c4ad660e1580b40e56d6d5fde5 (diff)
downloadlinux-da8c25929b78b39438eb62b87e213c45dfad6038.tar.gz
linux-da8c25929b78b39438eb62b87e213c45dfad6038.tar.bz2
linux-da8c25929b78b39438eb62b87e213c45dfad6038.zip
drm/amd/display: Fix crash on setting VRR with no display connected
[HOW&WHY] VRR was getting set at the same time the timing generator would be null when there was no display connected. Added null check to the timing generator variable so it does not get referenced if it is null. Reviewed-by: Harry Vanzylldejong <harry.vanzylldejong@amd.com> Reviewed-by: Evgenii Krasnikov <Evgenii.Krasnikov@amd.com> Reviewed-by: Nicholas Choi <Nicholas.Choi@amd.com> Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com> Signed-off-by: Harry VanZyllDeJong <hvanzyll@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions