]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdkfd: Preserve cp_hqd_pq_control on update_mqd
authorDavid Yat Sin <David.YatSin@amd.com>
Wed, 19 Feb 2025 22:34:38 +0000 (17:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Feb 2025 17:19:25 +0000 (12:19 -0500)
commit3502ab5022bb5ef1edd063bdb6465a8bf3b46e66
tree4a3847e0cd8d50e6ed59de87090242ad4af6005f
parent91dcc66b34beb72dde8412421bdc1b4cd40e4fb8
drm/amdkfd: Preserve cp_hqd_pq_control on update_mqd

When userspace applications call AMDKFD_IOC_UPDATE_QUEUE. Preserve
bitfields that do not need to be modified as they contain flags to
track queue states that are used by CP FW.

Signed-off-by: David Yat Sin <David.YatSin@amd.com>
Reviewed-by: Jay Cornwall <jay.cornwall@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 8150827990b709ab5a40c46c30d21b7f7b9e9440)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c