MLK-20110 drm/imx: dpu: crtc: Add pclk and vrefresh dbg info in ->mode_set_nofb
Pixel clock and vrefresh are important information for a video mode. This patch adds debug information for them in ->mode_set_nofb. Signed-off-by: Liu Ying <victor.liu@nxp.com>pull/10/head
parent
e1bd9c5dc0
commit
c441ced3f1
|
@ -756,6 +756,10 @@ static void dpu_crtc_mode_set_nofb(struct drm_crtc *crtc)
|
|||
mode->hdisplay);
|
||||
dev_dbg(dpu_crtc->dev, "%s: mode->vdisplay: %d\n", __func__,
|
||||
mode->vdisplay);
|
||||
dev_dbg(dpu_crtc->dev, "%s: mode->clock: %dKHz\n", __func__,
|
||||
mode->clock);
|
||||
dev_dbg(dpu_crtc->dev, "%s: mode->vrefresh: %dHz\n", __func__,
|
||||
drm_mode_vrefresh(mode));
|
||||
if (dcstate->use_pc)
|
||||
dev_dbg(dpu_crtc->dev, "%s: use pixel combiner\n", __func__);
|
||||
|
||||
|
|
Loading…
Reference in New Issue