]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Optimize DP_SINK_STATUS_ESI range read on HPD
authorNikola Cornij <nikola.cornij@amd.com>
Wed, 9 May 2018 21:07:36 +0000 (17:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Jun 2018 17:20:25 +0000 (12:20 -0500)
commitfaa66b2eb9e27c4ed881f65ab656595e4b03007b
treeeadb1dfdac81204a94920d3da2d0fbd032c16a1d
parent490befeb2ea412f84fbec8c1d6c52c4679365cda
drm/amd/display: Optimize DP_SINK_STATUS_ESI range read on HPD

DP_SINK_STATUS_ESI range data is not continual, but rather than
getting it in two AUX reads, it's quicker to read more bytes in a
AUX read and then memcpy the required fields (it's only 8 more
bytes to read).

Signed-off-by: Nikola Cornij <nikola.cornij@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c