From a6bc7cda37d1ad52cdc59a8d4c4d654836f8c238 Mon Sep 17 00:00:00 2001 From: Michal Wajdeczko Date: Tue, 21 May 2024 12:28:28 +0200 Subject: [PATCH] drm/xe: Fix xe_guc_pc.h Prefer forward declaration over #include xe_guc_pc_types.h Signed-off-by: Michal Wajdeczko Reviewed-by: Francois Dugast Link: https://patchwork.freedesktop.org/patch/msgid/20240521102828.668-5-michal.wajdeczko@intel.com --- drivers/gpu/drm/xe/xe_guc_pc.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/xe/xe_guc_pc.h b/drivers/gpu/drm/xe/xe_guc_pc.h index d3680d89490e..532cac985a6d 100644 --- a/drivers/gpu/drm/xe/xe_guc_pc.h +++ b/drivers/gpu/drm/xe/xe_guc_pc.h @@ -6,7 +6,9 @@ #ifndef _XE_GUC_PC_H_ #define _XE_GUC_PC_H_ -#include "xe_guc_pc_types.h" +#include + +struct xe_guc_pc; int xe_guc_pc_init(struct xe_guc_pc *pc); int xe_guc_pc_start(struct xe_guc_pc *pc); @@ -27,4 +29,5 @@ enum xe_gt_idle_state xe_guc_pc_c_status(struct xe_guc_pc *pc); u64 xe_guc_pc_rc6_residency(struct xe_guc_pc *pc); u64 xe_guc_pc_mc6_residency(struct xe_guc_pc *pc); void xe_guc_pc_init_early(struct xe_guc_pc *pc); + #endif /* _XE_GUC_PC_H_ */ -- 2.50.1