diff options
author | Likun Gao <Likun.Gao@amd.com> | 2022-04-04 16:48:30 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-05-04 09:54:01 -0400 |
commit | 1761e5efabe43f060c16bcd6093004c71c15abcb (patch) | |
tree | ea15c8073e64b18c8c82a2ee72101c6df3f100fd /drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | |
parent | 563fcfbf3101b569d642ac4d71c8177f0d7dc0ce (diff) |
drm/amdgpu/discovery: add HDP v6
Enable HDP v6 on asics where it is present.
Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c index 8c89e02ee1ced..834354597cb16 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c @@ -53,6 +53,7 @@ #include "nbio_v4_3.h" #include "nbio_v7_2.h" #include "hdp_v5_0.h" +#include "hdp_v6_0.h" #include "nv.h" #include "soc21.h" #include "navi10_ih.h" @@ -2176,6 +2177,9 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev) case IP_VERSION(5, 2, 0): adev->hdp.funcs = &hdp_v5_0_funcs; break; + case IP_VERSION(6, 0, 0): + adev->hdp.funcs = &hdp_v6_0_funcs; + break; default: break; } |