drm/amdkfd: Preserve cp_hqd_pq_control on update_mqd

commit 3502ab5022 upstream.

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 8150827990)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
David Yat Sin 2025-02-19 17:34:38 -05:00 • committed by Greg Kroah-Hartman
commit 6ffe5bc656
4 changed files with 14 additions and 7 deletions