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:
parent
4b4a2b684c
commit
f11d3df9aa
@ -626,7 +626,7 @@ encoder_dig_setup(uint32 connectorIndex, uint32 pixelClock, int command)
|
|||||||
tableMajor, tableMinor);
|
tableMajor, tableMinor);
|
||||||
|
|
||||||
dp_info* dpInfo = &gConnector[connectorIndex]->dpInfo;
|
dp_info* dpInfo = &gConnector[connectorIndex]->dpInfo;
|
||||||
uint8 dpClock = 0;
|
uint32 dpClock = 0;
|
||||||
if (dpInfo->valid == true)
|
if (dpInfo->valid == true)
|
||||||
dpClock = dpInfo->linkRate;
|
dpClock = dpInfo->linkRate;
|
||||||
|
|
||||||
@ -1231,7 +1231,7 @@ transmitter_dig_setup(uint32 connectorIndex, uint32 pixelClock,
|
|||||||
|
|
||||||
dp_info* dpInfo = &gConnector[connectorIndex]->dpInfo;
|
dp_info* dpInfo = &gConnector[connectorIndex]->dpInfo;
|
||||||
|
|
||||||
uint8 dpClock = 0;
|
uint32 dpClock = 0;
|
||||||
int dpLaneCount = 0;
|
int dpLaneCount = 0;
|
||||||
if (dpInfo->valid == true) {
|
if (dpInfo->valid == true) {
|
||||||
dpClock = dpInfo->linkRate;
|
dpClock = dpInfo->linkRate;
|
||||||
|
Loading…
Reference in New Issue
Block a user