]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Shift sdma_engine_id and sdma_queue_id in mqd
authorOak Zeng <ozeng@amd.com>
Tue, 4 Dec 2018 22:08:33 +0000 (16:08 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:21:01 +0000 (12:21 -0500)
commitb434738dda3a7c72569b8e075e5fe33c0c71b874
tree8549d52b9c6e071f0545498dad32858442b586fa
parent5d6fd15b5cd0f8f69747a23cbbb749349831cb27
drm/amdkfd: Shift sdma_engine_id and sdma_queue_id in mqd

FW of some new ASICs requires sdma mqd size to be not more than
128 dwords. Repurpose the last 2 reserved fields of sdma mqd for
driver internal use, so the total mqd size is no bigger than 128
dwords

Signed-off-by: Oak Zeng <ozeng@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/cik_structs.h
drivers/gpu/drm/amd/include/v9_structs.h
drivers/gpu/drm/amd/include/vi_structs.h