aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <[email protected]>2025-06-25 12:41:58 +0000
committerAndreas Gruenbacher <[email protected]>2025-07-15 02:20:40 +0000
commit6e417b3eb836432860284edb75c48f436adb4feb (patch)
tree660ca3137d0f9161220374ce2c5a1e00666cdd02 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentgfs2: Minor do_xmote cancelation fix (diff)
downloadkernel-6e417b3eb836432860284edb75c48f436adb4feb.tar.gz
kernel-6e417b3eb836432860284edb75c48f436adb4feb.zip
gfs2: sanitize the gdlm_ast -> finish_xmote interface
When gdlm_ast() is called with a non-zero status code, this means that the requested operation did not succeed and the current lock state didn't change. Turn that into a non-zero LM_OUT_* status code (with ret & ~LM_OUT_ST_MASK != 0) instead of pretending that dlm returned the current lock state. That way, we can easily change finish_xmote() to only update gl->gl_state when the state has actually changed. Signed-off-by: Andreas Gruenbacher <[email protected]> Reviewed-by: Andrew Price <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions