1
0
Fork 0

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
Liu Ying 2018-10-29 14:00:11 +08:00
parent e1bd9c5dc0
commit c441ced3f1
1 changed files with 4 additions and 0 deletions

View File

@ -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__);