Commit b7f6318a authored by Michal Wajdeczko's avatar Michal Wajdeczko

drm/xe: Fix xe_device.h

Some explicit includes are needed only from the xe_device.c.
And there is no need for redundant forward declarations.
Signed-off-by: default avatarMichal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240507110959.2747-4-michal.wajdeczko@intel.com
parent 93dd6ad8
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <drm/xe_drm.h> #include <drm/xe_drm.h>
#include "display/xe_display.h" #include "display/xe_display.h"
#include "regs/xe_gpu_commands.h"
#include "regs/xe_gt_regs.h" #include "regs/xe_gt_regs.h"
#include "regs/xe_regs.h" #include "regs/xe_regs.h"
#include "xe_bo.h" #include "xe_bo.h"
...@@ -26,6 +27,7 @@ ...@@ -26,6 +27,7 @@
#include "xe_drv.h" #include "xe_drv.h"
#include "xe_exec.h" #include "xe_exec.h"
#include "xe_exec_queue.h" #include "xe_exec_queue.h"
#include "xe_force_wake.h"
#include "xe_ggtt.h" #include "xe_ggtt.h"
#include "xe_gsc_proxy.h" #include "xe_gsc_proxy.h"
#include "xe_gt.h" #include "xe_gt.h"
......
...@@ -6,15 +6,9 @@ ...@@ -6,15 +6,9 @@
#ifndef _XE_DEVICE_H_ #ifndef _XE_DEVICE_H_
#define _XE_DEVICE_H_ #define _XE_DEVICE_H_
struct xe_exec_queue;
struct xe_file;
#include <drm/drm_util.h> #include <drm/drm_util.h>
#include "regs/xe_gpu_commands.h"
#include "xe_device_types.h" #include "xe_device_types.h"
#include "xe_force_wake.h"
#include "xe_macros.h"
static inline struct xe_device *to_xe_device(const struct drm_device *dev) static inline struct xe_device *to_xe_device(const struct drm_device *dev)
{ {
......
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