[PATCH] drm/amdgpu: remove ctx->lock

Xue, Ken Ken.Xue at amd.com
Sun Feb 13 01:48:00 UTC 2022


[AMD Official Use Only]

> > KMD reports a warning on holding a lock from drm_syncobj_find_fence,
> > when running amdgpu_test case “syncobj timeline test”.
> >
> > ctx->lock was designed to prevent concurrent
> "amdgpu_ctx_wait_prev_fence"
> > calls and avoid dead reservation lock from GPU reset.
> 
> Just to help me understand - what do you mean by the dead reservation lock
> above ? Can you point me to earlier code version where this did take place ?
> 
> since no reservation
> > lock is held in lates GPU reset any more,
> 
> Same here - can you point me when was it was held before and not being
> held now ?
> 
> Andrey

[Ken] I think it should be long time ago. I just got those information from https://yhbt.net/lore/all/715810ad-26cc-506d-624d-8e5024968ea0@gmail.com/T/#t.
Let me know if there is any misunderstanding.


More information about the amd-gfx mailing list