Commit ea062558 authored by Alex Deucher's avatar Alex Deucher Committed by Alex Deucher

drm/amd/display/dc: add DIGG for KV

KV has 7 possible DIG blocks.
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 0d6fbccb
......@@ -80,6 +80,7 @@
#define DCE110_DIG_FE_SOURCE_SELECT_DIGD 0x08
#define DCE110_DIG_FE_SOURCE_SELECT_DIGE 0x10
#define DCE110_DIG_FE_SOURCE_SELECT_DIGF 0x20
#define DCE110_DIG_FE_SOURCE_SELECT_DIGG 0x40
/* all values are in milliseconds */
/* For eDP, after power-up/power/down,
......@@ -471,6 +472,8 @@ static uint8_t get_frontend_source(
return DCE110_DIG_FE_SOURCE_SELECT_DIGE;
case ENGINE_ID_DIGF:
return DCE110_DIG_FE_SOURCE_SELECT_DIGF;
case ENGINE_ID_DIGG:
return DCE110_DIG_FE_SOURCE_SELECT_DIGG;
default:
ASSERT_CRITICAL(false);
return DCE110_DIG_FE_SOURCE_SELECT_INVALID;
......@@ -984,6 +987,9 @@ bool dce110_link_encoder_construct(
case TRANSMITTER_UNIPHY_F:
enc110->base.preferred_engine = ENGINE_ID_DIGF;
break;
case TRANSMITTER_UNIPHY_G:
enc110->base.preferred_engine = ENGINE_ID_DIGG;
break;
default:
ASSERT_CRITICAL(false);
enc110->base.preferred_engine = ENGINE_ID_UNKNOWN;
......
......@@ -262,7 +262,8 @@ static const struct dce110_stream_enc_registers stream_enc_regs[] = {
stream_enc_regs(2),
stream_enc_regs(3),
stream_enc_regs(4),
stream_enc_regs(5)
stream_enc_regs(5),
stream_enc_regs(6)
};
static const struct dce_stream_encoder_shift se_shift = {
......
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