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
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(-)
--
2.48.0