drm/amdgpu: drop the critial WARN_ON in amdgpu_vkms
authorFlora Cui <flora.cui@amd.com>
Wed, 24 Nov 2021 07:53:17 +0000 (15:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Dec 2021 18:12:05 +0000 (13:12 -0500)
Signed-off-by: Flora Cui <flora.cui@amd.com>
Reviewed-by: Leslie Shi <Yuliang.Shi@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c

index 6c62c45e3e3ea1408ff05c425df6c009bc82d1ba..acc2d31ea93f6c0b9486a444b93b3bda1ee0a68e 100644 (file)
@@ -51,7 +51,8 @@ static enum hrtimer_restart amdgpu_vkms_vblank_simulate(struct hrtimer *timer)
 
        ret_overrun = hrtimer_forward_now(&amdgpu_crtc->vblank_timer,
                                          output->period_ns);
-       WARN_ON(ret_overrun != 1);
+       if (ret_overrun != 1)
+               DRM_WARN("%s: vblank timer overrun\n", __func__);
 
        ret = drm_crtc_handle_vblank(crtc);
        if (!ret)