summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/i2caux/i2caux.c
diff options
context:
space:
mode:
authorLeo Li <sunpeng.li@amd.com>2018-10-31 16:56:54 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-12-18 17:39:49 -0500
commitb8b6ce89016485cb92fdf2f527b40249aefbc470 (patch)
tree89616adda864651f6735b4690d96390a21206de3 /drivers/gpu/drm/amd/display/dc/i2caux/i2caux.c
parent180db303ff466a3887c841e805568b92233e2d0e (diff)
drm/amd/display: Add DCE_VERSION_12_1 enum for Vega 20
[Why] We'll need a way to differentiate Vega 20 in DC [How] Add a DCE_VERSION_12_1 enum, which will be returned as the DC version if the ASIC used is a Vega 20. Signed-off-by: Leo Li <sunpeng.li@amd.com> Reviewed-by: David Francis <David.Francis@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/i2caux/i2caux.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/i2caux/i2caux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/i2caux/i2caux.c b/drivers/gpu/drm/amd/display/dc/i2caux/i2caux.c
index e56093f26eed..1ad6e49102ff 100644
--- a/drivers/gpu/drm/amd/display/dc/i2caux/i2caux.c
+++ b/drivers/gpu/drm/amd/display/dc/i2caux/i2caux.c
@@ -90,6 +90,7 @@ struct i2caux *dal_i2caux_create(
case DCE_VERSION_10_0:
return dal_i2caux_dce100_create(ctx);
case DCE_VERSION_12_0:
+ case DCE_VERSION_12_1:
return dal_i2caux_dce120_create(ctx);
#if defined(CONFIG_DRM_AMD_DC_DCN1_0)
case DCN_VERSION_1_0: