[PATCH 2/4] drm/xe/vm: Fix a misplaced #endif
Lucas De Marchi
lucas.demarchi at intel.com
Wed Feb 26 17:03:47 UTC 2025
On Wed, Feb 26, 2025 at 04:33:42PM +0100, Thomas Hellström wrote:
>Fix a (harmless) misplaced #endif leading to declarations
>appearing multiple times.
>
>Fixes: 0eb2a18a8fad ("drm/xe: Implement VM snapshot support for BO's and userptr")
>Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
>Cc: José Roberto de Souza <jose.souza at intel.com>
>Cc: <stable at vger.kernel.org> # v6.9+
not sure if it deserves to be propagated to stable since it's harmless.
As prep for patch 3, maybe just do v6.12+, but up to you
Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>
Lucas De Marchi
>Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
>---
> drivers/gpu/drm/xe/xe_vm.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/gpu/drm/xe/xe_vm.h b/drivers/gpu/drm/xe/xe_vm.h
>index f66075f8a6fe..7c8e39049223 100644
>--- a/drivers/gpu/drm/xe/xe_vm.h
>+++ b/drivers/gpu/drm/xe/xe_vm.h
>@@ -282,9 +282,9 @@ static inline void vm_dbg(const struct drm_device *dev,
> const char *format, ...)
> { /* noop */ }
> #endif
>-#endif
>
> struct xe_vm_snapshot *xe_vm_snapshot_capture(struct xe_vm *vm);
> void xe_vm_snapshot_capture_delayed(struct xe_vm_snapshot *snap);
> void xe_vm_snapshot_print(struct xe_vm_snapshot *snap, struct drm_printer *p);
> void xe_vm_snapshot_free(struct xe_vm_snapshot *snap);
>+#endif
>--
>2.48.1
>
More information about the Intel-xe
mailing list