drm/msm: Move vblank debug prints to drm_dbg_vbl()
Put these debug prints in the vblank code into the appropriate vblank category via drm_dbg_vbl(). Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Cc: Abhinav Kumar <abhinavk@codeaurora.org> Cc: Kuogee Hsieh <khsieh@codeaurora.org> Cc: aravindh@codeaurora.org Cc: Sean Paul <sean@poorly.run> Signed-off-by: Stephen Boyd <swboyd@chromium.org> Link: https://lore.kernel.org/r/20210430193104.1770538-2-swboyd@chromium.org Reviewed-by: Abhinav Kumar <abhinavk@codeaurora.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
parent
d94fc8f36f
commit
721c6e0c6a
2 changed files with 3 additions and 3 deletions
|
@ -403,7 +403,7 @@ static int dpu_encoder_phys_vid_control_vblank_irq(
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
DRM_DEBUG_KMS("id:%u enable=%d/%d\n", DRMID(phys_enc->parent), enable,
|
DRM_DEBUG_VBL("id:%u enable=%d/%d\n", DRMID(phys_enc->parent), enable,
|
||||||
atomic_read(&phys_enc->vblank_refcount));
|
atomic_read(&phys_enc->vblank_refcount));
|
||||||
|
|
||||||
if (enable && atomic_inc_return(&phys_enc->vblank_refcount) == 1)
|
if (enable && atomic_inc_return(&phys_enc->vblank_refcount) == 1)
|
||||||
|
|
|
@ -705,7 +705,7 @@ int msm_crtc_enable_vblank(struct drm_crtc *crtc)
|
||||||
struct msm_kms *kms = priv->kms;
|
struct msm_kms *kms = priv->kms;
|
||||||
if (!kms)
|
if (!kms)
|
||||||
return -ENXIO;
|
return -ENXIO;
|
||||||
DBG("dev=%p, crtc=%u", dev, pipe);
|
drm_dbg_vbl(dev, "crtc=%u", pipe);
|
||||||
return vblank_ctrl_queue_work(priv, pipe, true);
|
return vblank_ctrl_queue_work(priv, pipe, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -717,7 +717,7 @@ void msm_crtc_disable_vblank(struct drm_crtc *crtc)
|
||||||
struct msm_kms *kms = priv->kms;
|
struct msm_kms *kms = priv->kms;
|
||||||
if (!kms)
|
if (!kms)
|
||||||
return;
|
return;
|
||||||
DBG("dev=%p, crtc=%u", dev, pipe);
|
drm_dbg_vbl(dev, "crtc=%u", pipe);
|
||||||
vblank_ctrl_queue_work(priv, pipe, false);
|
vblank_ctrl_queue_work(priv, pipe, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue