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 16:43:58 +0000 (11:43 -0500)
commit8150827990b709ab5a40c46c30d21b7f7b9e9440
tree44a735a78505ee2344643c0b0cb6a683bdc123a7
parentee3dc9e204d271c9c7a8d4d38a0bce4745d33e71
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>
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