summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_mocs.h
diff options
context:
space:
mode:
authorMichal Wajdeczko <michal.wajdeczko@intel.com>2024-05-06 22:52:54 +0200
committerMichal Wajdeczko <michal.wajdeczko@intel.com>2024-05-07 12:03:49 +0200
commit5b882c1e5a355d034c0e08fba2402b4451765ab2 (patch)
tree9355ff6f62c4bb4926b43a903f553d034f3439b6 /drivers/gpu/drm/xe/xe_mocs.h
parent50aec9665e0babd62b9eee4e613d9a1ef8d2b7de (diff)
downloadlwn-5b882c1e5a355d034c0e08fba2402b4451765ab2.tar.gz
lwn-5b882c1e5a355d034c0e08fba2402b4451765ab2.zip
drm/xe: Fix xe_mocs.h
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
Diffstat (limited to 'drivers/gpu/drm/xe/xe_mocs.h')
-rw-r--r--drivers/gpu/drm/xe/xe_mocs.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/xe/xe_mocs.h b/drivers/gpu/drm/xe/xe_mocs.h
index d6fa4485a6e9..dc972ffd4d07 100644
--- a/drivers/gpu/drm/xe/xe_mocs.h
+++ b/drivers/gpu/drm/xe/xe_mocs.h
@@ -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);