Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/dist/drm Initialize connector->kdev, w...



details:   https://anonhg.NetBSD.org/src/rev/bb01a773b917
branches:  trunk
changeset: 366285:bb01a773b917
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 14:39:46 2018 +0000

description:
Initialize connector->kdev, which amdgpu uses.

diffstat:

 sys/external/bsd/drm2/dist/drm/drm_crtc.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r bbccbf1bdf79 -r bb01a773b917 sys/external/bsd/drm2/dist/drm/drm_crtc.c
--- a/sys/external/bsd/drm2/dist/drm/drm_crtc.c Mon Aug 27 14:39:20 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_crtc.c Mon Aug 27 14:39:46 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_crtc.c,v 1.9 2018/08/27 14:14:29 riastradh Exp $   */
+/*     $NetBSD: drm_crtc.c,v 1.10 2018/08/27 14:39:46 riastradh Exp $  */
 
 /*
  * Copyright (c) 2006-2008 Intel Corporation
@@ -32,7 +32,7 @@
  *      Jesse Barnes <jesse.barnes%intel.com@localhost>
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_crtc.c,v 1.9 2018/08/27 14:14:29 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_crtc.c,v 1.10 2018/08/27 14:39:46 riastradh Exp $");
 
 #include <linux/err.h>
 #include <linux/spinlock.h>
@@ -903,6 +903,7 @@
 
        connector->base.properties = &connector->properties;
        connector->dev = dev;
+       connector->kdev = dev->dev;
        connector->funcs = funcs;
        connector->connector_type = connector_type;
        connector->connector_type_id =



Home | Main Index | Thread Index | Old Index