Commit 39173f24 authored by David Galiffi's avatar David Galiffi Committed by Alex Deucher

drm/amd/display: Enable dp_hdmi21_pcon support

[Why]
It is not enabled for DCN3.0.1, 3.0.2, 3.0.3.

[How]
Add `dc->caps.dp_hdmi21_pcon_support = true` to these DCN versions.
Reviewed-by: default avatarMartin Leung <Martin.Leung@amd.com>
Acked-by: default avatarStylon Wang <stylon.wang@amd.com>
Signed-off-by: default avatarDavid Galiffi <David.Galiffi@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent f0882d3a
...@@ -1493,6 +1493,8 @@ static bool dcn301_resource_construct( ...@@ -1493,6 +1493,8 @@ static bool dcn301_resource_construct(
dc->caps.color.mpc.ogam_rom_caps.hlg = 0; dc->caps.color.mpc.ogam_rom_caps.hlg = 0;
dc->caps.color.mpc.ocsc = 1; dc->caps.color.mpc.ocsc = 1;
dc->caps.dp_hdmi21_pcon_support = true;
/* read VBIOS LTTPR caps */ /* read VBIOS LTTPR caps */
if (ctx->dc_bios->funcs->get_lttpr_caps) { if (ctx->dc_bios->funcs->get_lttpr_caps) {
enum bp_result bp_query_result; enum bp_result bp_query_result;
......
...@@ -1281,6 +1281,8 @@ static bool dcn302_resource_construct( ...@@ -1281,6 +1281,8 @@ static bool dcn302_resource_construct(
dc->caps.color.mpc.ogam_rom_caps.hlg = 0; dc->caps.color.mpc.ogam_rom_caps.hlg = 0;
dc->caps.color.mpc.ocsc = 1; dc->caps.color.mpc.ocsc = 1;
dc->caps.dp_hdmi21_pcon_support = true;
/* read VBIOS LTTPR caps */ /* read VBIOS LTTPR caps */
if (ctx->dc_bios->funcs->get_lttpr_caps) { if (ctx->dc_bios->funcs->get_lttpr_caps) {
enum bp_result bp_query_result; enum bp_result bp_query_result;
......
...@@ -1212,6 +1212,8 @@ static bool dcn303_resource_construct( ...@@ -1212,6 +1212,8 @@ static bool dcn303_resource_construct(
dc->caps.color.mpc.ogam_rom_caps.hlg = 0; dc->caps.color.mpc.ogam_rom_caps.hlg = 0;
dc->caps.color.mpc.ocsc = 1; dc->caps.color.mpc.ocsc = 1;
dc->caps.dp_hdmi21_pcon_support = true;
/* read VBIOS LTTPR caps */ /* read VBIOS LTTPR caps */
if (ctx->dc_bios->funcs->get_lttpr_caps) { if (ctx->dc_bios->funcs->get_lttpr_caps) {
enum bp_result bp_query_result; enum bp_result bp_query_result;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment