]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: disable lttpr for invalid lttpr caps.
authorabdoulaye berthe <abdoulaye.berthe@amd.com>
Thu, 10 Oct 2019 20:41:52 +0000 (16:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Nov 2019 20:29:43 +0000 (15:29 -0500)
commit2db23196eb0ffa4c53c27811a5fadf64a6509b04
tree7cf2746a59503281f44817f886533e1d7b2c1e9c
parenta68be2d6d487a2ee125ea14a699341f65d54fe82
drm/amd/display: disable lttpr for invalid lttpr caps.

1-Read lttpr caps in 5-bytes
2-Parse caps
3-Validate caps and set lttpr_mode
4-Use hw default timeout when lttpr is disabled.

Signed-off-by: abdoulaye berthe <abdoulaye.berthe@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
drivers/gpu/drm/amd/display/dc/dc_types.h
drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.h