summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorMichal Wajdeczko <michal.wajdeczko@intel.com>2024-05-13 10:42:17 +0200
committerMichal Wajdeczko <michal.wajdeczko@intel.com>2024-05-13 21:36:51 +0200
commit38830bfe287f9ad97be87a844237beb8e7e64f4a (patch)
treef91ca4a8ef1217d99c407cefc11f3a4898ab9ed8 /drivers/gpu/drm
parentc5d9c6690ed4cefe9390f8d73ad690332dbc7142 (diff)
downloadlwn-38830bfe287f9ad97be87a844237beb8e7e64f4a.tar.gz
lwn-38830bfe287f9ad97be87a844237beb8e7e64f4a.zip
drm/xe: Fix xe_lrc.h
Prefer forward declarations over #include xe_lrc_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-4-michal.wajdeczko@intel.com
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/xe/xe_lrc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_lrc.h b/drivers/gpu/drm/xe/xe_lrc.h
index 06a95a598736..e0e841963c23 100644
--- a/drivers/gpu/drm/xe/xe_lrc.h
+++ b/drivers/gpu/drm/xe/xe_lrc.h
@@ -5,14 +5,17 @@
#ifndef _XE_LRC_H_
#define _XE_LRC_H_
-#include "xe_lrc_types.h"
+#include <linux/types.h>
struct drm_printer;
struct xe_bb;
struct xe_device;
struct xe_exec_queue;
enum xe_engine_class;
+struct xe_gt;
struct xe_hw_engine;
+struct xe_lrc;
+struct xe_lrc_snapshot;
struct xe_vm;
#define LRC_PPHWSP_SCRATCH_ADDR (0x34 * 4)