mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
drm/xe/hw_engine: don't open code is_usm_hwe()
Prefer is_usm_hwe() here. Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Link: https://patch.msgid.link/20260626111520.487997-16-matthew.auld@intel.com
This commit is contained in:
parent
0c9a7926bd
commit
08af1a0efd
|
|
@ -1043,8 +1043,7 @@ bool xe_hw_engine_is_reserved(struct xe_hw_engine *hwe)
|
|||
hwe->logical_instance >= gt->ccs_mode)
|
||||
return true;
|
||||
|
||||
return xe->info.has_usm && hwe->class == XE_ENGINE_CLASS_COPY &&
|
||||
hwe->instance == gt->usm.reserved_bcs_instance;
|
||||
return xe_gt_is_usm_hwe(gt, hwe);
|
||||
}
|
||||
|
||||
const char *xe_hw_engine_class_to_str(enum xe_engine_class class)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user