diff options
author | Leo Chen <sancchen@amd.com> | 2022-10-21 18:24:02 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-11-01 11:47:39 -0400 |
commit | da339aa4573de3526890627490ee5f61c1de9c31 (patch) | |
tree | 27c579b67ee896b4245cd513339b8b13e39fe29c /drivers/gpu/drm/amd/display/dc/dcn316 | |
parent | 935e35d8dbde76a02d00290cf4d9eb420514eaf3 (diff) | |
download | linux-stable-da339aa4573de3526890627490ee5f61c1de9c31.tar.gz linux-stable-da339aa4573de3526890627490ee5f61c1de9c31.tar.bz2 linux-stable-da339aa4573de3526890627490ee5f61c1de9c31.zip |
drm/amd/display: Add a debug option HBR2CP2520 over TPS4
[Why & How] There are cases when we may need to override the hardcoded
TPS4 test pattern. Added parameters and config option to be able to
allow this.
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Leo Chen <sancchen@amd.com>
Tested-by: Mark Broadworth <mark.broadworth@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn316')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn316/dcn316_resource.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn316/dcn316_resource.c b/drivers/gpu/drm/amd/display/dc/dcn316/dcn316_resource.c index af3eddc0cf32..2f643cdaf59f 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn316/dcn316_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dcn316/dcn316_resource.c @@ -1785,6 +1785,8 @@ static bool dcn316_resource_construct( dc->caps.max_slave_rgb_planes = 2; dc->caps.post_blend_color_processing = true; dc->caps.force_dp_tps4_for_cp2520 = true; + if (dc->config.forceHBR2CP2520) + dc->caps.force_dp_tps4_for_cp2520 = false; dc->caps.dp_hpo = true; dc->caps.dp_hdmi21_pcon_support = true; dc->caps.edp_dsc_support = true; |