aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorHarish Kasiviswanathan <[email protected]>2025-03-14 16:03:53 +0000
committerAlex Deucher <[email protected]>2025-03-19 19:51:44 +0000
commitfed7efbb43628f51e16e1890be8c84d136b755bf (patch)
treea65bc1ce8f893c3cce7bab073cd6c013c9648074 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentdrm/radeon/uvd: Replace nested max() with single max3() (diff)
downloadkernel-fed7efbb43628f51e16e1890be8c84d136b755bf.tar.gz
kernel-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 <[email protected]> Reviewed-by: Jonathan Kim <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions