RE: [PATCH v3] drm/amdkfd: Fix bug in config_dequeue_wait_counts

2025-03-14 Thread Kim, Jonathan
[Public] > -Original Message- > From: amd-gfx On Behalf Of Harish > Kasiviswanathan > Sent: Friday, March 14, 2025 8:44 PM > To: amd-gfx@lists.freedesktop.org > Cc: Kasiviswanathan, Harish > Subject: [PATCH v3] drm/amdkfd: Fix bug in config_dequeue_wait_counts

[PATCH v3] drm/amdkfd: Fix bug in config_dequeue_wait_counts

2025-03-14 Thread Harish Kasiviswanathan
For certain ASICs where dequeue_wait_count don't need to be initialized, pm_config_dequeue_wait_counts_v9 return without filling in the packet information. However, the calling function interprets this as a success and sends the uninitialized packet to firmware causing hang. Fix the above bug by n