silence_vop_spam.patch 490 B

12345678910111213
  1. diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
  2. index 48c222d..f8f9ae6 100644
  3. --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
  4. +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
  5. @@ -845,7 +845,7 @@ static int vop_crtc_enable_vblank(struct drm_crtc *crtc)
  6. struct vop *vop = to_vop(crtc);
  7. unsigned long flags;
  8. + if (!vop->is_enabled)
  9. - if (WARN_ON(!vop->is_enabled))
  10. return -EPERM;
  11. spin_lock_irqsave(&vop->irq_lock, flags);