]> 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)
commit4c4a146479c49fbde09e8333430098f359d5469d
treeeadb1dfdac81204a94920d3da2d0fbd032c16a1d
parent99c8d53096e272599363b1546d7b9a8819da1ad9
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