[Intel-xe] [PATCH] fixup! drm/xe/pat: Move PAT setup to a dedicated file
Lucas De Marchi
lucas.demarchi at intel.com
Sat Apr 1 08:42:14 UTC 2023
drm/xe/pat: Add missing include
Fix build error with W=1:
../drivers/gpu/drm/xe/xe_pat.c:73:6: error: no previous prototype for ‘xe_pat_init’ [-Werror=missing-prototypes]
73 | void xe_pat_init(struct xe_gt *gt)
| ^~~~~~~~~~~
Add xe_pat.h includes like commonly done.
Fixes: d2ceb4f09a00 ("drm/xe/pat: Move PAT setup to a dedicated file")
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---
drivers/gpu/drm/xe/xe_pat.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_pat.c b/drivers/gpu/drm/xe/xe_pat.c
index 266cf6f43a3c..293e4ff16107 100644
--- a/drivers/gpu/drm/xe/xe_pat.c
+++ b/drivers/gpu/drm/xe/xe_pat.c
@@ -3,6 +3,8 @@
* Copyright © 2023 Intel Corporation
*/
+#include "xe_pat.h"
+
#include "regs/xe_reg_defs.h"
#include "xe_gt.h"
#include "xe_gt_mcr.h"
--
2.39.0
More information about the Intel-xe
mailing list