Andi Shyti b9741faadb drm/i915/gt: add gt_is_root() helper
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 <michal.wajdeczko@intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220318233938.149744-3-andi.shyti@linux.intel.com
2022-03-21 08:37:35 +00:00
..
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-07 16:35:35 -08:00
2022-02-25 05:50:18 +10:00
2021-08-10 20:14:01 +02:00
2022-03-21 08:37:35 +00:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2021-10-28 14:59:38 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2022-02-07 16:35:35 -08:00
2022-02-25 05:50:18 +10:00
2022-02-25 05:50:18 +10:00
2021-08-10 20:14:01 +02:00
2022-02-25 05:50:18 +10:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2022-02-25 05:50:18 +10:00
2022-02-07 16:35:35 -08:00
2021-08-02 10:19:43 +02:00
2022-02-25 05:50:18 +10:00
2021-08-02 10:19:43 +02:00
2022-02-25 05:50:18 +10:00
2021-11-30 09:41:28 +01:00
2021-08-02 10:19:43 +02:00
2021-10-01 15:55:47 +02:00
2021-11-30 09:41:28 +01:00
2021-08-02 10:19:43 +02:00
2021-05-17 21:19:48 +02:00
2022-02-07 16:35:35 -08:00
2021-08-19 09:02:55 +09:00
2022-02-25 05:50:18 +10:00
2021-08-02 10:19:43 +02:00
2021-08-10 20:14:01 +02:00
2021-08-02 10:19:43 +02:00