mbox series

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

Message ID 20220214235625.864939-1-vivek.kasireddy@intel.com (mailing list archive)
Headers show
Series drm/mm: Add an iterator to optimally walk over holes suitable for an allocation | expand

Message

Kasireddy, Vivek Feb. 14, 2022, 11:56 p.m. UTC
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@linux.intel.com>
Cc: Nirmoy Das <nirmoy.das@intel.com>
Cc: Christian König <christian.koenig@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(-)

Comments

Christian König Feb. 15, 2022, 7:37 a.m. UTC | #1
Am 15.02.22 um 00:56 schrieb Vivek Kasireddy:
> 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.

Sounds like a good idea to me, but I somehow only see the cover letter 
and none of the patches.

Please double check your mail setup, looks like you CCed me only on the 
first mail and I don't see the rest on dri-devel for some reason.

Regards,
Christian.

>
> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
> Cc: Nirmoy Das <nirmoy.das@intel.com>
> Cc: Christian König <christian.koenig@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(-)
>