Skip to content
Snippets Groups Projects
Commit 93503a60 authored by Tim Huang's avatar Tim Huang Committed by Linux Infrastructure
Browse files

drm/amdgpu: add support for SDMA IP version 6.1.3


This initializes SDMA IP version 6.1.3.

Signed-off-by: default avatarTim Huang <tim.huang@amd.com>
Reviewed-by: default avatarYifan Zhang <yifan1.zhang@amd.com>
parent e2874aba
No related branches found
No related tags found
No related merge requests found
...@@ -2273,6 +2273,7 @@ static int amdgpu_discovery_set_sdma_ip_blocks(struct amdgpu_device *adev) ...@@ -2273,6 +2273,7 @@ static int amdgpu_discovery_set_sdma_ip_blocks(struct amdgpu_device *adev)
case IP_VERSION(6, 1, 0): case IP_VERSION(6, 1, 0):
case IP_VERSION(6, 1, 1): case IP_VERSION(6, 1, 1):
case IP_VERSION(6, 1, 2): case IP_VERSION(6, 1, 2):
case IP_VERSION(6, 1, 3):
amdgpu_device_ip_block_add(adev, &sdma_v6_0_ip_block); amdgpu_device_ip_block_add(adev, &sdma_v6_0_ip_block);
break; break;
case IP_VERSION(7, 0, 0): case IP_VERSION(7, 0, 0):
......
...@@ -52,6 +52,7 @@ MODULE_FIRMWARE("amdgpu/sdma_6_0_3.bin"); ...@@ -52,6 +52,7 @@ MODULE_FIRMWARE("amdgpu/sdma_6_0_3.bin");
MODULE_FIRMWARE("amdgpu/sdma_6_1_0.bin"); MODULE_FIRMWARE("amdgpu/sdma_6_1_0.bin");
MODULE_FIRMWARE("amdgpu/sdma_6_1_1.bin"); MODULE_FIRMWARE("amdgpu/sdma_6_1_1.bin");
MODULE_FIRMWARE("amdgpu/sdma_6_1_2.bin"); MODULE_FIRMWARE("amdgpu/sdma_6_1_2.bin");
MODULE_FIRMWARE("amdgpu/sdma_6_1_3.bin");
#define SDMA1_REG_OFFSET 0x600 #define SDMA1_REG_OFFSET 0x600
#define SDMA0_HYP_DEC_REG_START 0x5880 #define SDMA0_HYP_DEC_REG_START 0x5880
......
...@@ -101,6 +101,7 @@ static void kfd_device_info_set_sdma_info(struct kfd_dev *kfd) ...@@ -101,6 +101,7 @@ static void kfd_device_info_set_sdma_info(struct kfd_dev *kfd)
case IP_VERSION(6, 1, 0): case IP_VERSION(6, 1, 0):
case IP_VERSION(6, 1, 1): case IP_VERSION(6, 1, 1):
case IP_VERSION(6, 1, 2): case IP_VERSION(6, 1, 2):
case IP_VERSION(6, 1, 3):
case IP_VERSION(7, 0, 0): case IP_VERSION(7, 0, 0):
case IP_VERSION(7, 0, 1): case IP_VERSION(7, 0, 1):
kfd->device_info.num_sdma_queues_per_engine = 8; kfd->device_info.num_sdma_queues_per_engine = 8;
...@@ -122,6 +123,7 @@ static void kfd_device_info_set_sdma_info(struct kfd_dev *kfd) ...@@ -122,6 +123,7 @@ static void kfd_device_info_set_sdma_info(struct kfd_dev *kfd)
case IP_VERSION(6, 1, 0): case IP_VERSION(6, 1, 0):
case IP_VERSION(6, 1, 1): case IP_VERSION(6, 1, 1):
case IP_VERSION(6, 1, 2): case IP_VERSION(6, 1, 2):
case IP_VERSION(6, 1, 3):
case IP_VERSION(7, 0, 0): case IP_VERSION(7, 0, 0):
case IP_VERSION(7, 0, 1): case IP_VERSION(7, 0, 1):
/* Reserve 1 for paging and 1 for gfx */ /* Reserve 1 for paging and 1 for gfx */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment