OSDN Git Service

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>
Mon, 6 Aug 2018 19:35:25 +0000 (14:35 -0500)
commit9315e2399a2cdc236e8d42c1a21fb1071cdad03d
tree16df902727cba4fba28c578b9c7da1cfe1de2971
parent5ae6fe572929587a304471bf4a641361a45152b5
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