On 12/18/25 16:04, Tvrtko Ursulin wrote: > RFC because the context conversion needs a lot of scrutiny (and passing > through > the automated test suites), while the bo list changes are perhaps a bit of a > bike shed, although they do result in less lines of code and hopefully easier > to > read. > > BO list sorting is really independent, as is the IDR MES cleanup (which could > as > well have the warnings removed). Just say the work and I can easily split them > out. > > Series has been smoke tested, including lockdep and game + desktop workloads > so > at least shouldn't be too obviously broken.
Oh, yes please! Some of that stuff was on my TODO list ever since amdgpu existed. Going to take a look right away. Thanks, Christian > > Tvrtko Ursulin (5): > drm/amdgpu: Replace idr with xarray in amdgpu_bo_list > drm/amdgpu: Remove output parameter in bo list handling > drm/amdgpu: Simplify sorting of the bo list > drm/amdgpu: Convert context manager to xarray > drm/amdgpu/mes: Remove idr leftovers > > drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 +- > drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c | 140 +++++++++----------- > drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.h | 17 ++- > drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 58 ++++---- > drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 117 ++++++---------- > drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h | 5 +- > drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 11 +- > drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 9 -- > drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 3 - > drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | 8 +- > drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 18 +-- > drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 18 +-- > 12 files changed, 160 insertions(+), 248 deletions(-) >
