mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
rockchip/drm: dw-dp: dump some info when can't get bus format
Change-Id: I25c30ff4ab590cbb78e772fee0eda03322dbf5e9 Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
This commit is contained in:
@@ -4652,6 +4652,14 @@ static u32 *dw_dp_bridge_atomic_get_output_bus_fmts(struct drm_bridge *bridge,
|
||||
|
||||
*num_output_fmts = j;
|
||||
|
||||
if (*num_output_fmts == 0) {
|
||||
dev_warn(dp->dev, "here is not satisfied the require bus format\n");
|
||||
dev_info(dp->dev,
|
||||
"max bpc:%d, max fmt:%x, lanes:%d, rate:%d, bpc:%d, fmt:%d, eotf:%d\n",
|
||||
conn_state->max_bpc, di->color_formats, link->lanes, link->max_rate,
|
||||
dp_state->bpc, dp_state->color_format, dp->eotf_type);
|
||||
}
|
||||
|
||||
return output_fmts;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user