Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/sunxi Fill fb->dev.



details:   https://anonhg.NetBSD.org/src/rev/5c0a3a3b046c
branches:  trunk
changeset: 1028600:5c0a3a3b046c
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:25:09 2021 +0000

description:
Fill fb->dev.


Author: Maya Rashish <maya%NetBSD.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>

diffstat:

 sys/arch/arm/sunxi/sunxi_drm.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 39cbd7ac15bd -r 5c0a3a3b046c sys/arch/arm/sunxi/sunxi_drm.c
--- a/sys/arch/arm/sunxi/sunxi_drm.c    Sun Dec 19 11:25:01 2021 +0000
+++ b/sys/arch/arm/sunxi/sunxi_drm.c    Sun Dec 19 11:25:09 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_drm.c,v 1.18 2021/12/19 11:01:21 riastradh Exp $ */
+/* $NetBSD: sunxi_drm.c,v 1.19 2021/12/19 11:25:09 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_drm.c,v 1.18 2021/12/19 11:01:21 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_drm.c,v 1.19 2021/12/19 11:25:09 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -383,6 +383,7 @@
        fb->width = width;
        fb->height = height;
        fb->format = drm_format_info(DRM_FORMAT_XRGB8888);
+       fb->dev = ddev;
 
        error = drm_framebuffer_init(ddev, fb, &sunxi_drm_framebuffer_funcs);
        if (error != 0) {



Home | Main Index | Thread Index | Old Index