Skip to content

Commit

Permalink
radeon_hd: Reduce DisplayPort Tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
kallisti5 committed Jul 14, 2015
1 parent f1b2980 commit 991710b
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions src/add-ons/accelerants/radeon_hd/displayport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,6 @@ dp_aux_transaction(uint32 connectorIndex, dp_aux_msg* message)
return B_ERROR;
}

TRACE("%s: dp_aux_speak result: %" B_PRIdSSIZE "\n", __func__, result);

if (result == B_BUSY)
continue;
else if (result < B_OK)
Expand Down Expand Up @@ -226,9 +224,8 @@ dp_aux_transaction(uint32 connectorIndex, dp_aux_msg* message)
void
dpcd_reg_write(uint32 connectorIndex, uint16 address, uint8 value)
{
TRACE("%s: connector(%" B_PRId32 "): 0x%" B_PRIx16 " -> 0x%" B_PRIx8 "\n",
__func__, connectorIndex, address, value);

//TRACE("%s: connector(%" B_PRId32 "): 0x%" B_PRIx16 " -> 0x%" B_PRIx8 "\n",
// __func__, connectorIndex, address, value);
dp_aux_msg message;
memset(&message, 0, sizeof(message));

Expand All @@ -242,16 +239,14 @@ dpcd_reg_write(uint32 connectorIndex, uint16 address, uint8 value)
ERROR("%s: error on DisplayPort aux write (0x%" B_PRIx32 ")\n",
__func__, result);
}
TRACE("%s: aux message reply: 0x%" B_PRIx8 "\n", __func__, message.reply);
}


uint8
dpcd_reg_read(uint32 connectorIndex, uint16 address)
{
TRACE("%s: connector(%" B_PRId32 "): read 0x%" B_PRIx16 ".\n",
__func__, connectorIndex, address);

//TRACE("%s: connector(%" B_PRId32 "): read 0x%" B_PRIx16 ".\n",
// __func__, connectorIndex, address);
uint8 response[3];

dp_aux_msg message;
Expand All @@ -268,8 +263,6 @@ dpcd_reg_read(uint32 connectorIndex, uint16 address)
__func__, result);
}

TRACE("%s: aux message reply: 0x%" B_PRIx8 "\n", __func__, message.reply);

return response[0];
}

Expand Down Expand Up @@ -1028,9 +1021,6 @@ ddc2_dp_read_edid1(uint32 connectorIndex, edid1_info* edid)
}
dp_aux_get_i2c_byte(connectorIndex, 0x50, &sdata, false, true);

TRACE("%s: EDID version %" B_PRIu8 ".%" B_PRIu8 "\n", __func__,
raw.version.version, raw.version.revision);

if (raw.version.version != 1 || raw.version.revision > 4) {
ERROR("%s: EDID version or revision out of range\n", __func__);
return false;
Expand Down

0 comments on commit 991710b

Please sign in to comment.