Re: [PATCH 1/2] drm/mm: expand rb_hole_addr augmented callbacks

2020-05-20 Thread Christian König
Am 19.05.20 um 10:44 schrieb Nirmoy Das: Expand RB_DECLARE_CALLBACKS_MAX so that it is possible to store extra value(max hole alignment) in the rb_hole_addr augmented rbtree. This looks to complicated to me, why not just extend the HOLE_SIZE definition to come up with a combined size/alignment

Re: [PATCH 1/2] drm/mm: expand rb_hole_addr augmented callbacks

2020-05-19 Thread Chris Wilson
Quoting Nirmoy Das (2020-05-19 09:44:35) > Expand RB_DECLARE_CALLBACKS_MAX so that it is possible to store > extra value(max hole alignment) in the rb_hole_addr augmented rbtree. > > Signed-off-by: Nirmoy Das > --- > drivers/gpu/drm/drm_mm.c | 72 ++-- > 1 fil