aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
diff options
context:
space:
mode:
authorJerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>2018-11-27 10:51:12 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-11-29 14:42:28 -0500
commit58124bf8f4a6ee4c91845d3b48712e1ee8876bdc (patch)
tree3436a3bf9fe98ebf25440849451e4b5f105e0aef /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
parent8b955e00d4a56a36763e9349a78483515560a3ca (diff)
drm/amd/display: Fix NULL ptr when calculating refresh rate
Calculate preferred refresh rate only when preferred mode exists. Signed-off-by: Jerry (Fangzhi) Zuo <Jerry.Zuo@amd.com> Reviewed-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
0 files changed, 0 insertions, 0 deletions