From 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 13 May 2024 10:30:14 +0000
Subject: [PATCH] modify sin led gpio

---
 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