drm/amdgpu: fix vkms crtc settings

[ Upstream commit deefd07eed ]

otherwise adev->mode_info.crtcs[] is NULL

Signed-off-by: Flora Cui <flora.cui@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Stable-dep-of: b42ae87a7b ("drm/amdgpu/vkms: relax timer deactivation by hrtimer_try_to_cancel")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Flora Cui 2021-11-24 10:34:57 +08:00 • committed by Greg Kroah-Hartman
commit fc399b0fdf
2 changed files with 30 additions and 17 deletions