Skip to content

Commit 29e6683

Browse files
Jonathan-CavittAndi Shyti
authored andcommitted
drm/i915: Add GuC TLB Invalidation device info flags
Add device info flags for if GuC TLB Invalidation is enabled. Signed-off-by: Jonathan Cavitt <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Acked-by: Tvrtko Ursulin <[email protected]> Reviewed-by: Nirmoy Das <[email protected]> Signed-off-by: Andi Shyti <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 6aa8d50 commit 29e6683

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

drivers/gpu/drm/i915/i915_drv.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,8 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,
856856
#define HAS_GUC_DEPRIVILEGE(i915) \
857857
(INTEL_INFO(i915)->has_guc_deprivilege)
858858

859+
#define HAS_GUC_TLB_INVALIDATION(i915) (INTEL_INFO(i915)->has_guc_tlb_invalidation)
860+
859861
#define HAS_3D_PIPELINE(i915) (INTEL_INFO(i915)->has_3d_pipeline)
860862

861863
#define HAS_ONE_EU_PER_FUSE_BIT(i915) (INTEL_INFO(i915)->has_one_eu_per_fuse_bit)

drivers/gpu/drm/i915/intel_device_info.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ enum intel_ppgtt_type {
154154
func(has_heci_pxp); \
155155
func(has_heci_gscfi); \
156156
func(has_guc_deprivilege); \
157+
func(has_guc_tlb_invalidation); \
157158
func(has_l3_ccs_read); \
158159
func(has_l3_dpf); \
159160
func(has_llc); \

0 commit comments

Comments
 (0)