forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/gpu/drm/nouveau/nouveau_fbcon.h
....@@ -31,8 +31,10 @@
3131
3232 #include "nouveau_display.h"
3333
34
+struct nouveau_vma;
35
+
3436 struct nouveau_fbdev {
35
- struct drm_fb_helper helper;
37
+ struct drm_fb_helper helper; /* must be first */
3638 unsigned int saved_flags;
3739 struct nvif_object surf2d;
3840 struct nvif_object clip;
....@@ -41,6 +43,7 @@
4143 struct nvif_object gdi;
4244 struct nvif_object blit;
4345 struct nvif_object twod;
46
+ struct nouveau_vma *vma;
4447
4548 struct mutex hotplug_lock;
4649 bool hotplug_waiting;