mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
drm/xe: Add has_ctx_tlb_inval to device info
Add has_ctx_tlb_inval to device info indicating a device has context basd TLB invalidation. Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Stuart Summers <stuart.summers@intel.com> Tested-by: Stuart Summers <stuart.summers@intel.com> Link: https://patch.msgid.link/20260116221731.868657-4-matthew.brost@intel.com
This commit is contained in:
parent
444d78578e
commit
dea333b244
|
|
@ -353,6 +353,8 @@ struct xe_device {
|
|||
u8 has_pre_prod_wa:1;
|
||||
/** @info.has_pxp: Device has PXP support */
|
||||
u8 has_pxp:1;
|
||||
/** @info.has_ctx_tlb_inval: Has context based TLB invalidations */
|
||||
u8 has_ctx_tlb_inval:1;
|
||||
/** @info.has_range_tlb_inval: Has range based TLB invalidations */
|
||||
u8 has_range_tlb_inval:1;
|
||||
/** @info.has_soc_remapper_sysctrl: Has SoC remapper system controller */
|
||||
|
|
|
|||
|
|
@ -893,6 +893,7 @@ static int xe_info_init(struct xe_device *xe,
|
|||
xe->info.has_device_atomics_on_smem = 1;
|
||||
|
||||
xe->info.has_range_tlb_inval = graphics_desc->has_range_tlb_inval;
|
||||
xe->info.has_ctx_tlb_inval = graphics_desc->has_ctx_tlb_inval;
|
||||
xe->info.has_usm = graphics_desc->has_usm;
|
||||
xe->info.has_64bit_timestamp = graphics_desc->has_64bit_timestamp;
|
||||
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ struct xe_graphics_desc {
|
|||
u8 has_atomic_enable_pte_bit:1;
|
||||
u8 has_indirect_ring_state:1;
|
||||
u8 has_range_tlb_inval:1;
|
||||
u8 has_ctx_tlb_inval:1;
|
||||
u8 has_usm:1;
|
||||
u8 has_64bit_timestamp:1;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user