drm/amdgpu: Add initial support for gfx v12_1
Subsystems (2)
Alex Deucher
maintainerPATCH 1/2 drm/amdgpu: Add initial support for gfx v12_1
From: Likun Gao <[email protected]>
Add initial support for gfx ip block for gc v12_1.
V2: Remove some not applicable bit set.
V3: drop unused header (Alex)
Signed-off-by Likun Gao <[email protected]>
Reviewed-by Hawking Zhang <[email protected]>
Reviewed-by Mukul Joshi <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/Makefile | 1 + drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c | 3947 ++++++++++++++++++++++++ drivers/gpu/drm/amd/amdgpu/gfx_v12_1.h | 29 + 3 files changed, 3977 insertions(+) create mode 100644 drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c create mode 100644 drivers/gpu/drm/amd/amdgpu/gfx_v12_1.h
drivers/gpu/drm/amd/amdgpu/Makefile +1 -0
@@ -158,6 +158,7 @@ amdgpu-y += \ gfx_v11_0_3.o \ imu_v11_0_3.o \ gfx_v12_0.o \ + gfx_v12_1.o \ imu_v12_0.o # add async DMA block
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c new file +3947 -0
2,993 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.h new file +29 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.51.1
Part of the diff is not shown here. View the raw message.
Alex Deucher
maintainerPATCH 2/2 drm/amdgpu: Add gfx v12_1_0 to discovery list
From: Likun Gao <[email protected]>
Include gfx v12_1_0 in the discovery list for gfx IP blocks
Signed-off-by Likun Gao <[email protected]>
Reviewed-by Hawking Zhang <[email protected]>
Reviewed-by Mukul Joshi <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +4 -0
@@ -79,6 +79,7 @@#include "gfx_v10_0.h" #include "gfx_v11_0.h" #include "gfx_v12_0.h" +#include "gfx_v12_1.h" #include "sdma_v5_0.h" #include "sdma_v5_2.h" #include "sdma_v6_0.h"
@@ -2363,6 +2364,9 @@ static int amdgpu_discovery_set_gc_ip_blocks(struct amdgpu_device *adev)case IP_VERSION (12 ,0 ,1 ):amdgpu_device_ip_block_add (adev, &gfx_v12_0_ip_block);break ; +case IP_VERSION (12 ,1 ,0 ): +amdgpu_device_ip_block_add (adev, &gfx_v12_1_ip_block); +break ;default :dev_err (adev->dev,"Failed to add gfx ip block(GC_HWIP:0x%x)\n" ,amdgpu_ip_version (adev,GC_HWIP ,0 ));
Signature · 1 line
2.51.1