[PATCH] drm/xe: Decalre xe variable in xe_file_close

Lucas De Marchi lucas.demarchi at intel.com
Mon Jul 22 22:29:31 UTC 2024


On Mon, Jul 22, 2024 at 01:33:18PM GMT, Matthew Brost wrote:
>Merged a bad patch which broke the build, fix this.
>
>Fixes: d930c19fdff3 ("drm/xe: Build PM into GuC CT layer")
>Signed-off-by: Matthew Brost <matthew.brost at intel.com>
>---
> drivers/gpu/drm/xe/xe_device.c | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
>index a8148326c69c..b677608eb592 100644
>--- a/drivers/gpu/drm/xe/xe_device.c
>+++ b/drivers/gpu/drm/xe/xe_device.c
>@@ -141,6 +141,7 @@ void xe_file_put(struct xe_file *xef)
>
> static void xe_file_close(struct drm_device *dev, struct drm_file *file)
> {
>+	struct xe_device *xe = to_xe_device(dev);

this line was being dropped when merging drm-xe-next into drm-tip. I
rebuilt drm-tip with a better conflict resolution.


Lucas De Marchi

> 	struct xe_file *xef = file->driver_priv;
> 	struct xe_vm *vm;
> 	struct xe_exec_queue *q;
>-- 
>2.34.1
>


More information about the Intel-xe mailing list