HDP v8.0.1 Support
Subsystems (2)
Alex Deucher
maintainercover HDP v8.0.1 Support
This series adds HDP (Host Data Path) v8.0.1 support. The first patch is new register headers. Skipping to avoid spamming the list.
Frank Min (1):
drm/amdgpu: add hdp v8 ip block
Hawking Zhang (1):
drm/amdgpu: Add hdp v8_0_1 ip headers v3
drivers/gpu/drm/amd/amdgpu/Makefile | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 4 + drivers/gpu/drm/amd/amdgpu/hdp_v8_0.c | 132 ++++ drivers/gpu/drm/amd/amdgpu/hdp_v8_0.h | 31 + .../include/asic_reg/hdp/hdp_8_0_1_offset.h | 213 ++++++ .../include/asic_reg/hdp/hdp_8_0_1_sh_mask.h | 665 ++++++++++++++++++ 6 files changed, 1046 insertions(+), 1 deletion(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/hdp_v8_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/hdp_v8_0.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/hdp/hdp_8_0_1_offset.h create mode 100644 drivers/gpu/drm/amd/include/asic_reg/hdp/hdp_8_0_1_sh_mask.h
Signature · 1 line
2.55.0
Alex Deucher
maintainerPATCH 2/2 drm/amdgpu: add hdp v8 ip block
From: Frank Min <[email protected]>
add hdp v8 ip block
Signed-off-by Frank Min <[email protected]>
Reviewed-by Hawking Zhang <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/Makefile | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 4 + drivers/gpu/drm/amd/amdgpu/hdp_v8_0.c | 132 ++++++++++++++++++ drivers/gpu/drm/amd/amdgpu/hdp_v8_0.h | 31 ++++ 4 files changed, 168 insertions(+), 1 deletion(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/hdp_v8_0.c create mode 100644 drivers/gpu/drm/amd/amdgpu/hdp_v8_0.h
drivers/gpu/drm/amd/amdgpu/Makefile +1 -1
@@ -92,7 +92,7 @@ amdgpu-y += \ sienna_cichlid.o smu_v13_0_10.o nbio_v4_3.o hdp_v6_0.o nbio_v7_7.o hdp_v5_2.o lsdma_v6_0.o \ nbio_v7_9.o aqua_vanjaram.o nbio_v7_11.o lsdma_v7_0.o hdp_v7_0.o nbif_v6_3_1.o \ cyan_skillfish_reg_init.o soc_v1_0.o lsdma_v7_1.o nbio_v6_3_2.o nbio_v7_11_5.o \ - nbif_v7_10.o + nbif_v7_10.o hdp_v8_0.o # add DF block amdgpu-y += \
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +4 -0
@@ -73,6 +73,7 @@#include "hdp_v5_2.h" #include "hdp_v6_0.h" #include "hdp_v7_0.h" +#include "hdp_v8_0.h" #include "nv.h" #include "soc21.h" #include "soc24.h"
@@ -3870,6 +3871,9 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)case IP_VERSION (7 ,0 ,0 ): adev->hdp.funcs = &hdp_v7_0_funcs;break ; +case IP_VERSION (8 ,0 ,1 ): + adev->hdp.funcs = &hdp_v8_0_funcs; +break ;default :break ; }
drivers/gpu/drm/amd/amdgpu/hdp_v8_0.c new file +132 -0
132 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/hdp_v8_0.h new file +31 -0
@@ -0,0 +1,31 @@ +/* +* Copyright 2025 Advanced Micro Devices, Inc. +* +* Permission is hereby granted, free of charge, to any person obtaining a +* copy of this software and associated documentation files (the "Software"), +* to deal in the Software without restriction, including without limitation +* the rights to use, copy, modify, merge, publish, distribute, sublicense, +* and/or sell copies of the Software, and to permit persons to whom the +* Software is furnished to do so, subject to the following conditions: +* +* The above copyright notice and this permission notice shall be included in +* all copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR +* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +* OTHER DEALINGS IN THE SOFTWARE. +* +*/ + +#ifndef __HDP_V8_0_H__ +#define __HDP_V8_0_H__ + +#include "soc15_common.h" + +extern const struct amdgpu_hdp_funcs hdp_v8_0_funcs; + +#endif
Signature · 1 line
2.55.0