From 04dd17822334871b23ea2862f7798fb0e0007777 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 11 May 2024 08:53:19 +0000 Subject: [PATCH] change otg to host mode --- kernel/drivers/gpu/drm/nouveau/nouveau_fbcon.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/kernel/drivers/gpu/drm/nouveau/nouveau_fbcon.h b/kernel/drivers/gpu/drm/nouveau/nouveau_fbcon.h index db9d520..1796d88 100644 --- a/kernel/drivers/gpu/drm/nouveau/nouveau_fbcon.h +++ b/kernel/drivers/gpu/drm/nouveau/nouveau_fbcon.h @@ -31,8 +31,10 @@ #include "nouveau_display.h" +struct nouveau_vma; + struct nouveau_fbdev { - struct drm_fb_helper helper; + struct drm_fb_helper helper; /* must be first */ unsigned int saved_flags; struct nvif_object surf2d; struct nvif_object clip; @@ -41,6 +43,7 @@ struct nvif_object gdi; struct nvif_object blit; struct nvif_object twod; + struct nouveau_vma *vma; struct mutex hotplug_lock; bool hotplug_waiting; -- Gitblit v1.6.2