Commit a6bc7cda authored by Michal Wajdeczko's avatar Michal Wajdeczko

drm/xe: Fix xe_guc_pc.h

Prefer forward declaration over #include xe_guc_pc_types.h
Signed-off-by: default avatarMichal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: default avatarFrancois Dugast <francois.dugast@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240521102828.668-5-michal.wajdeczko@intel.com
parent de1429a9
......@@ -6,7 +6,9 @@
#ifndef _XE_GUC_PC_H_
#define _XE_GUC_PC_H_
#include "xe_guc_pc_types.h"
#include <linux/types.h>
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_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment