[PATCH 0/2] drm/mm: Add an iterator to optimally walk over holes suitable for an allocation

Vivek Kasireddy vivek.kasireddy at intel.com
Mon Feb 14 23:56:23 UTC 2022


The first patch is a drm core patch that replaces the for loop in
drm_mm_insert_node_in_range() with the iterator and would not
cause any functional changes. The second patch is a i915 driver
specific patch that also uses the iterator but solves a different
problem.

Cc: Tvrtko Ursulin <tvrtko.ursulin at linux.intel.com>
Cc: Nirmoy Das <nirmoy.das at intel.com>
Cc: Christian König <christian.koenig at amd.com>

Vivek Kasireddy (2):
  drm/mm: Add an iterator to optimally walk over holes for an allocation
    (v3)
  drm/i915/gem: Don't try to map and fence large scanout buffers (v7)

 drivers/gpu/drm/drm_mm.c        |  32 ++++-----
 drivers/gpu/drm/i915/i915_gem.c | 120 +++++++++++++++++++++++---------
 include/drm/drm_mm.h            |  36 ++++++++++
 3 files changed, 137 insertions(+), 51 deletions(-)

-- 
2.34.1



More information about the dri-devel mailing list