diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2023-12-05 06:52:35 -0800 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-21 11:45:27 -0500 |
commit | 5a92da34ddb4ec75a037d4a956afa993876c67d4 (patch) | |
tree | ba2860f77e1869db9184d4facf7df6712b38dab1 /drivers/gpu/drm/xe/xe_gt.h | |
parent | f1a5d808b2a69304d0df06e23f4465a278b2cdd8 (diff) | |
download | linux-stable-5a92da34ddb4ec75a037d4a956afa993876c67d4.tar.gz linux-stable-5a92da34ddb4ec75a037d4a956afa993876c67d4.tar.bz2 linux-stable-5a92da34ddb4ec75a037d4a956afa993876c67d4.zip |
drm/xe: Rename info.supports_* to info.has_*
Rename supports_mmio_ext and supports_usm to use a has_ prefix so the
flags are grouped together. This settles on just one variant for
positive info matching ("has_") and one for negative ("skip_").
Also make sure the has_* flags are grouped together in xe_pci.c.
Reviewed-by: Koby Elbaz <kelbaz@habana.ai>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://lore.kernel.org/r/20231205145235.2114761-1-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_gt.h')
-rw-r--r-- | drivers/gpu/drm/xe/xe_gt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_gt.h b/drivers/gpu/drm/xe/xe_gt.h index a818cc9c8fd0..f3c780bd266d 100644 --- a/drivers/gpu/drm/xe/xe_gt.h +++ b/drivers/gpu/drm/xe/xe_gt.h @@ -65,7 +65,7 @@ static inline bool xe_gt_is_usm_hwe(struct xe_gt *gt, struct xe_hw_engine *hwe) { struct xe_device *xe = gt_to_xe(gt); - return xe->info.supports_usm && hwe->class == XE_ENGINE_CLASS_COPY && + return xe->info.has_usm && hwe->class == XE_ENGINE_CLASS_COPY && hwe->instance == gt->usm.reserved_bcs_instance; } |