Remove HDMI mode and AVI infoframe debug logging
This commit is contained in:
parent
c5a57a1782
commit
64f799ac7d
1 changed files with 0 additions and 29 deletions
|
|
@ -928,22 +928,6 @@ static void dw_hdmi_qp_bridge_atomic_enable(struct drm_bridge *bridge,
|
|||
if (WARN_ON(!conn_state))
|
||||
return;
|
||||
|
||||
/* tart bring-up: log the mode committed on every enable (boot + hotplug)
|
||||
* so the serial console shows what changes across an HDMI replug while
|
||||
* chasing the mid-boot overscan. Remove once resolved. */
|
||||
if (conn_state->crtc) {
|
||||
struct drm_crtc_state *tart_crtc_state =
|
||||
drm_atomic_get_new_crtc_state(state, conn_state->crtc);
|
||||
|
||||
if (tart_crtc_state)
|
||||
dev_info(hdmi->dev,
|
||||
"tart-hdmi: atomic_enable mode=" DRM_MODE_FMT
|
||||
" tmds_rate=%llu is_hdmi=%d\n",
|
||||
DRM_MODE_ARG(&tart_crtc_state->adjusted_mode),
|
||||
conn_state->hdmi.tmds_char_rate,
|
||||
hdmi->curr_conn->display_info.is_hdmi);
|
||||
}
|
||||
|
||||
//if (connector->display_info.is_hdmi) {
|
||||
if (hdmi->curr_conn->display_info.is_hdmi) {
|
||||
dev_dbg(hdmi->dev, "%s mode=HDMI rate=%llu\n",
|
||||
|
|
@ -1132,19 +1116,6 @@ static int dw_hdmi_qp_bridge_write_infoframe(struct drm_bridge *bridge,
|
|||
|
||||
switch (type) {
|
||||
case HDMI_INFOFRAME_TYPE_AVI:
|
||||
/* tart bring-up: decode the packed AVI InfoFrame so the serial log
|
||||
* shows scan-information (0=none 1=overscan 2=underscan), VIC and
|
||||
* range on boot and again on hotplug. This is what would change if
|
||||
* the overscan is fixed by a replug re-negotiating the infoframe.
|
||||
* buffer[]: [4]=DB1(scan in bits1:0), [5]=DB2(colorimetry 7:6,
|
||||
* aspect 5:4), [6]=DB3(RGB quant 3:2), [7]=DB4(VIC 6:0). Remove
|
||||
* once the overscan is resolved. */
|
||||
if (len >= 8)
|
||||
dev_info(hdmi->dev,
|
||||
"tart-hdmi: AVI vic=%u scan=%u colorimetry=%u aspect=%u rgb_quant=%u\n",
|
||||
buffer[7] & 0x7f, buffer[4] & 0x03,
|
||||
(buffer[5] >> 6) & 0x03, (buffer[5] >> 4) & 0x03,
|
||||
(buffer[6] >> 2) & 0x03);
|
||||
return dw_hdmi_qp_config_avi_infoframe(hdmi, buffer, len);
|
||||
|
||||
case HDMI_INFOFRAME_TYPE_DRM:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue