radeon_hd: DP encoder. Fix PVS 2022 to 2025

* Don't overload uint8 dpClock with 27k
* This might be causing a lot of DP issues
  as the DP clock rate is pretty important
This commit is contained in:
Alexander von Gluck IV 2015-04-28 21:02:51 -05:00
parent 4b4a2b684c
commit f11d3df9aa

View File

@ -626,7 +626,7 @@ encoder_dig_setup(uint32 connectorIndex, uint32 pixelClock, int command)
tableMajor, tableMinor);
dp_info* dpInfo = &gConnector[connectorIndex]->dpInfo;
uint8 dpClock = 0;
uint32 dpClock = 0;
if (dpInfo->valid == true)
dpClock = dpInfo->linkRate;
@ -1231,7 +1231,7 @@ transmitter_dig_setup(uint32 connectorIndex, uint32 pixelClock,
dp_info* dpInfo = &gConnector[connectorIndex]->dpInfo;
uint8 dpClock = 0;
uint32 dpClock = 0;
int dpLaneCount = 0;
if (dpInfo->valid == true) {
dpClock = dpInfo->linkRate;