drm/xe: Fix xe_reg_sr.h

Prefer forward declarations over #include xe_reg_sr_types.h

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240513084218.2084-5-michal.wajdeczko@intel.com
This commit is contained in:
Michal Wajdeczko 2024-05-13 10:42:18 +02:00
parent 38830bfe28
commit 664de50cbf

View File

@ -6,8 +6,6 @@
#ifndef _XE_REG_SR_
#define _XE_REG_SR_
#include "xe_reg_sr_types.h"
/*
* Reg save/restore bookkeeping
*/
@ -15,6 +13,8 @@
struct xe_device;
struct xe_gt;
struct xe_hw_engine;
struct xe_reg_sr;
struct xe_reg_sr_entry;
struct drm_printer;
int xe_reg_sr_init(struct xe_reg_sr *sr, const char *name, struct xe_device *xe);