[Intel-xe] [PATCH 2/3] drm/xe: Add skip_guc_pc flag
Vinay Belgaumkar
vinay.belgaumkar at intel.com
Mon Nov 27 19:58:55 UTC 2023
This flag can be used to disable GuC based power management. This
could be used for debug or comparison to host based C6.
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
---
drivers/gpu/drm/xe/xe_pci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index cb762c11dd0f..d54cae326e1a 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -64,6 +64,7 @@ struct xe_device_desc {
u8 has_sriov:1;
u8 bypass_mtcfg:1;
u8 supports_mmio_ext:1;
+ u8 skip_guc_pc:1;
};
__diag_push();
@@ -592,6 +593,7 @@ static int xe_info_init(struct xe_device *xe,
xe->info.has_asid = graphics_desc->has_asid;
xe->info.has_flat_ccs = graphics_desc->has_flat_ccs;
xe->info.has_range_tlb_invalidation = graphics_desc->has_range_tlb_invalidation;
+ xe->info.skip_guc_pc = desc->skip_guc_pc;
xe->info.enable_display = IS_ENABLED(CONFIG_DRM_XE_DISPLAY) &&
enable_display &&
--
2.38.1
More information about the Intel-xe
mailing list