drm/amd/display: Fix DP HBR2 Eye Diagram Pattern on Carrizo
authorHersen Wu <hersenxs.wu@amd.com>
Mon, 16 Jul 2018 15:21:12 +0000 (11:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Jul 2018 20:13:09 +0000 (15:13 -0500)
commit263318eea710a6dd9770f9b4f570889b5dfd0d39
treea5609eb0264be1c3c9e62919401f852ab2e21543
parent96a5d8d4915f3e241ebb48d5decdd110ab9c7dcf
drm/amd/display: Fix DP HBR2 Eye Diagram Pattern on Carrizo

[why] dp hbr2 eye diagram pattern for raven asic is not stabled.
workaround is to use tp4 pattern. But this should not be
applied to asic before raven.

[how] add new bool varilable in asic caps. for raven asic,
use the workaround. for carrizo, vega, do not use workaround.

Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Leo Li <sunpeng.li@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.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c