Skip to content

Commit 64d83e3

Browse files
committed
drm/i915: Dump more configuration information for DSI
Dump out more of the DSI configuration details during init. This includes pclk, burst_mode_ratio, lane_count, pixel_overlap, video_mode_format and reset_timer_val. v2: Dump more info (Chris) v3: Use the VIDEO_MODE_ defines for consistency (Chris) Dump dphy_reg too (Chris) Cc: Chris Wilson <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 9cc1973 commit 64d83e3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

drivers/gpu/drm/i915/intel_dsi_panel_vbt.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,19 @@ struct drm_panel *vbt_panel_init(struct intel_dsi *intel_dsi, u16 panel_id)
801801
8);
802802
intel_dsi->clk_hs_to_lp_count += extra_byte_count;
803803

804+
DRM_DEBUG_KMS("Pclk %d\n", intel_dsi->pclk);
805+
DRM_DEBUG_KMS("Pixel overlap %d\n", intel_dsi->pixel_overlap);
806+
DRM_DEBUG_KMS("Lane count %d\n", intel_dsi->lane_count);
807+
DRM_DEBUG_KMS("DPHY param reg 0x%x\n", intel_dsi->dphy_reg);
808+
DRM_DEBUG_KMS("Video mode format %s\n",
809+
intel_dsi->video_mode_format == VIDEO_MODE_NON_BURST_WITH_SYNC_PULSE ?
810+
"non-burst with sync pulse" :
811+
intel_dsi->video_mode_format == VIDEO_MODE_NON_BURST_WITH_SYNC_EVENTS ?
812+
"non-burst with sync events" :
813+
intel_dsi->video_mode_format == VIDEO_MODE_BURST ?
814+
"burst" : "<unknown>");
815+
DRM_DEBUG_KMS("Burst mode ratio %d\n", intel_dsi->burst_mode_ratio);
816+
DRM_DEBUG_KMS("Reset timer %d\n", intel_dsi->rst_timer_val);
804817
DRM_DEBUG_KMS("Eot %s\n", enableddisabled(intel_dsi->eotp_pkt));
805818
DRM_DEBUG_KMS("Clockstop %s\n", enableddisabled(!intel_dsi->clock_stop));
806819
DRM_DEBUG_KMS("Mode %s\n", intel_dsi->operation_mode ? "command" : "video");

0 commit comments

Comments
 (0)