+ Christian & Thomas
On 19/09/2025 14:15, Tvrtko Ursulin wrote:
Some small cleanups, nothing intentionally functional. It is mostly about
applying some consistency to when to use a local variable to cache something,
when not, and making the code use the ones already there.
Tvrtko Ursulin (4):
drm/ttm: Make ttm_bo_init_validate safe against ttm_operation_ctx
re-ordering
drm/ttm: Resource cannot be NULL in ttm_resource_intersects
drm/ttm: Tidy ttm_operation_ctx initialization
drm/ttm: Tidy usage of local variables a little bit
I got acks for trivial cleanups patch 1 & 3 from this series. Are you
okay if I push the two to drm-misc-next?
Regards,
Tvrtko
drivers/gpu/drm/ttm/ttm_bo.c | 64 +++++++++++++++---------------
drivers/gpu/drm/ttm/ttm_bo_util.c | 57 ++++++++++++--------------
drivers/gpu/drm/ttm/ttm_bo_vm.c | 12 +++---
drivers/gpu/drm/ttm/ttm_device.c | 5 +--
drivers/gpu/drm/ttm/ttm_pool.c | 26 ++++++------
drivers/gpu/drm/ttm/ttm_resource.c | 14 ++-----
drivers/gpu/drm/ttm/ttm_tt.c | 2 +-
7 files changed, 83 insertions(+), 97 deletions(-)