diff options
author | Shirish S <[email protected]> | 2018-02-23 16:10:13 +0530 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2018-02-28 15:38:40 -0500 |
commit | cc195141133ac3e767d930bedd8294ceebf1f10b (patch) | |
tree | 01a41c8eb736fb6ea9ef63d7998cb5cbcfd968ab /tools/perf/scripts/python/syscall-counts.py | |
parent | 9f0178fb67699992d38601cb923b434f9986dd68 (diff) |
drm/amd/display: make dm_dp_aux_transfer return payload bytes instead of size
The drm layer expects aux->transfer() to return the payload bytes read.
Currently dm_dp_aux_transfer() returns the payload size which does not
gets updated during the read, hence not giving the right data for the
drm layer to pars edid. This leads to the drm layer to conclude as the
edid is BAD and hence some monitors/devices dont get detected properly.
This patch changes the return type of dm_dp_aux_transfer() to actual
bytes read during DP_AUX_NATIVE_READ & DP_AUX_I2C_READ.
Signed-off-by: Shirish S <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions