aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/vi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vi.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vi.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
index 09a25a413db7..125003517544 100644
--- a/drivers/gpu/drm/amd/amdgpu/vi.c
+++ b/drivers/gpu/drm/amd/amdgpu/vi.c
@@ -74,6 +74,9 @@
74#include "uvd_v6_0.h" 74#include "uvd_v6_0.h"
75#include "vce_v3_0.h" 75#include "vce_v3_0.h"
76#include "amdgpu_powerplay.h" 76#include "amdgpu_powerplay.h"
77#if defined(CONFIG_DRM_AMD_ACP)
78#include "amdgpu_acp.h"
79#endif
77 80
78/* 81/*
79 * Indirect registers accessor 82 * Indirect registers accessor
@@ -970,6 +973,15 @@ static const struct amdgpu_ip_block_version cz_ip_blocks[] =
970 .rev = 0, 973 .rev = 0,
971 .funcs = &vce_v3_0_ip_funcs, 974 .funcs = &vce_v3_0_ip_funcs,
972 }, 975 },
976#if defined(CONFIG_DRM_AMD_ACP)
977 {
978 .type = AMD_IP_BLOCK_TYPE_ACP,
979 .major = 2,
980 .minor = 2,
981 .rev = 0,
982 .funcs = &acp_ip_funcs,
983 },
984#endif
973}; 985};
974 986
975int vi_set_ip_blocks(struct amdgpu_device *adev) 987int vi_set_ip_blocks(struct amdgpu_device *adev)