Re: [Intel-gfx] [PATCH v5 3/7] drm/i915/gt: add gt_is_root() helper

2022-03-06 Thread Andi Shyti
Hi Andrzej and Michal, > > > The "gt_is_root(struct intel_gt *gt)" helper return true if the > > > gt is the root gt, which means that its id is 0. Return false > > > otherwise. > > > > > > Suggested-by: Michal Wajdeczko > > > Signed-off-by: Andi Shyti > > > --- > > > drivers/gpu/drm/i915/gt/

Re: [Intel-gfx] [PATCH v5 3/7] drm/i915/gt: add gt_is_root() helper

2022-03-01 Thread Andrzej Hajda
On 28.02.2022 21:02, Michal Wajdeczko wrote: On 17.02.2022 15:41, Andi Shyti wrote: The "gt_is_root(struct intel_gt *gt)" helper return true if the gt is the root gt, which means that its id is 0. Return false otherwise. Suggested-by: Michal Wajdeczko Signed-off-by: Andi Shyti --- drive

Re: [Intel-gfx] [PATCH v5 3/7] drm/i915/gt: add gt_is_root() helper

2022-02-28 Thread Michal Wajdeczko
On 17.02.2022 15:41, Andi Shyti wrote: > The "gt_is_root(struct intel_gt *gt)" helper return true if the > gt is the root gt, which means that its id is 0. Return false > otherwise. > > Suggested-by: Michal Wajdeczko > Signed-off-by: Andi Shyti > --- > drivers/gpu/drm/i915/gt/intel_gt.h | 5