]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/amdkfd: PM4 packets change to support GWS
authorOak Zeng <Oak.Zeng@amd.com>
Fri, 10 May 2019 14:44:17 +0000 (09:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 May 2019 19:44:37 +0000 (14:44 -0500)
commit023509737140b9518c36fb77887e2e22be22a150
tree7bff219a3f5ee5e8ed484765a01311de1e641b96
parent1a058c3376765ee31d65e28cbbb9d4ff15120056
drm/amdkfd: PM4 packets change to support GWS

Add a field in map_queues packet to indicate whether
this is a gws control queue. Only one queue per process
can be gws control queue. Change num_gws field in
map_process packet to 7 bits

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c
drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_ai.h