diff options
author | 2025-03-14 12:03:53 -0400 | |
---|---|---|
committer | 2025-03-19 15:51:44 -0400 | |
commit | fed7efbb43628f51e16e1890be8c84d136b755bf (patch) | |
tree | a65bc1ce8f893c3cce7bab073cd6c013c9648074 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/radeon/uvd: Replace nested max() with single max3() (diff) | |
download | wireguard-linux-fed7efbb43628f51e16e1890be8c84d136b755bf.tar.xz wireguard-linux-fed7efbb43628f51e16e1890be8c84d136b755bf.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions