diff options
author | Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> | 2025-03-14 19:03:53 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-03-19 22:51:44 +0300 |
commit | fed7efbb43628f51e16e1890be8c84d136b755bf (patch) | |
tree | a65bc1ce8f893c3cce7bab073cd6c013c9648074 /scripts/gdb/linux/utils.py | |
parent | 5199e8ac07f0d5f2013afc05ffc7781b45b3ba12 (diff) | |
download | linux-fed7efbb43628f51e16e1890be8c84d136b755bf.tar.xz |
drm/amdkfd: Fix bug in config_dequeue_wait_counts
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 not calling pm_config_dequeue_wait_counts_v9 for
ASICs that don't need the value to be initialized.
v2: Removed redudant code.
Tidy up code based on review comments
v3: Don't call pm_config_dequeue_wait_counts_v9 for certain ASICs
Fixes: ed962f8d0603 ("drm/amdkfd: Add pm_config_dequeue_wait_counts API")
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Reviewed-by: Jonathan Kim <jonathan.kim@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions