drm/xe: Fix xe_mocs.h
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 6 May 2024 20:52:54 +0000 (22:52 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 7 May 2024 10:03:49 +0000 (12:03 +0200)
We don't need to include <linux/types.h>.
We don't use struct xe_exec_queue here.
We should sort forward declarations.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240506205254.2659-1-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_mocs.h

index d6fa448..dc972ff 100644 (file)
@@ -6,11 +6,8 @@
 #ifndef _XE_MOCS_H_
 #define _XE_MOCS_H_
 
-#include <linux/types.h>
-
-struct xe_exec_queue;
-struct xe_gt;
 struct drm_printer;
+struct xe_gt;
 
 void xe_mocs_init_early(struct xe_gt *gt);
 void xe_mocs_init(struct xe_gt *gt);