diff options
author | Roman Li <Roman.Li@amd.com> | 2020-09-29 18:21:58 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-10-05 22:15:56 +0300 |
commit | 3a83e4e64bb1522ddac67ffc787d1c38291e1a65 (patch) | |
tree | 907efd005ca3c474afd17acae74f53aec1a8836e /drivers/gpu/drm/amd/display/dc/gpio | |
parent | ac0dc4c5a0760c9a9437d5864c277d9d2554a6ec (diff) | |
download | linux-3a83e4e64bb1522ddac67ffc787d1c38291e1a65.tar.xz |
drm/amd/display: Add dcn3.01 support to DC (v2)
Update dc for vangogh support.
v2: fix compilation without DCN 301 set.
Signed-off-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/gpio')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/gpio/hw_translate.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c b/drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c index 6fc8a6e9dc15..f9ed80c48980 100644 --- a/drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c +++ b/drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c @@ -114,6 +114,9 @@ bool dal_hw_factory_init( #endif #if defined(CONFIG_DRM_AMD_DC_DCN3_0) case DCN_VERSION_3_0: +#if defined(CONFIG_DRM_AMD_DC_DCN3_01) + case DCN_VERSION_3_01: +#endif dal_hw_factory_dcn30_init(factory); return true; #endif diff --git a/drivers/gpu/drm/amd/display/dc/gpio/hw_translate.c b/drivers/gpu/drm/amd/display/dc/gpio/hw_translate.c index 3a93c945e57d..8abc4b0a961c 100644 --- a/drivers/gpu/drm/amd/display/dc/gpio/hw_translate.c +++ b/drivers/gpu/drm/amd/display/dc/gpio/hw_translate.c @@ -109,6 +109,9 @@ bool dal_hw_translate_init( #endif #if defined(CONFIG_DRM_AMD_DC_DCN3_0) case DCN_VERSION_3_0: +#if defined(CONFIG_DRM_AMD_DC_DCN3_01) + case DCN_VERSION_3_01: +#endif dal_hw_translate_dcn30_init(translate); return true; #endif |