diff options
author | 2024-04-24 12:59:22 +0800 | |
---|---|---|
committer | 2024-04-26 17:22:43 -0400 | |
commit | 2d10c3dbde073ac005303b313d3e2cb99381eb6f (patch) | |
tree | 4ef7c4de318302cd8058c543f51d6a96ca7d15ef /drivers/gpu/drm/amd/amdgpu/atom.c | |
parent | drm/amdgpu: add return result for amdgpu_i2c_{get/put}_byte (diff) | |
download | wireguard-linux-2d10c3dbde073ac005303b313d3e2cb99381eb6f.tar.xz wireguard-linux-2d10c3dbde073ac005303b313d3e2cb99381eb6f.zip |
drm/amdgpu: add check before free wb entry
Check if ring is not a mes queue before freeing the wb entry,
because we only allocate a wb entry when it's not a mes queue.
Signed-off-by: Jesse Zhang <jesse.zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions