summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2025-03-21 16:43:32 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2025-03-22 07:25:19 +0800
commit39fc22a8e53e96392f9b2c840e386272affbe6ba (patch)
tree123620fcad948fb30bf36fbed57b264a617cafe6 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c
parent8b54e6a8f4156ed43627f40300b0711dc977fbc1 (diff)
downloadlinux-39fc22a8e53e96392f9b2c840e386272affbe6ba.tar.gz
linux-39fc22a8e53e96392f9b2c840e386272affbe6ba.tar.bz2
linux-39fc22a8e53e96392f9b2c840e386272affbe6ba.zip
crypto: acomp - Fix synchronous acomp chaining fallback
The synchronous acomp fallback code path is broken because the completion code path assumes that the state object is always set but this is only done for asynchronous algorithms. First of all remove the assumption on the completion code path by passing in req0 instead of the state. However, also remove the conditional setting of the state since it's always in the request object anyway. Fixes: b67a02600372 ("crypto: acomp - Add request chaining and virtual addresses") Reported-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c')
0 files changed, 0 insertions, 0 deletions