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 undo local diff, set_busid is...
details: https://anonhg.NetBSD.org/src/rev/3e71346fd6f2
branches: trunk
changeset: 1028200:3e71346fd6f2
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 09:48:45 2021 +0000
description:
undo local diff, set_busid is gone
Author: Maya Rashish <maya%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/dist/drm/drm_ioctl.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 2616c242c08c -r 3e71346fd6f2 sys/external/bsd/drm2/dist/drm/drm_ioctl.c
--- a/sys/external/bsd/drm2/dist/drm/drm_ioctl.c Sun Dec 19 09:48:37 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_ioctl.c Sun Dec 19 09:48:45 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_ioctl.c,v 1.16 2021/12/19 09:48:37 riastradh Exp $ */
+/* $NetBSD: drm_ioctl.c,v 1.17 2021/12/19 09:48:45 riastradh Exp $ */
/*
* Created: Fri Jan 8 09:01:26 1999 by faith%valinux.com@localhost
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_ioctl.c,v 1.16 2021/12/19 09:48:37 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_ioctl.c,v 1.17 2021/12/19 09:48:45 riastradh Exp $");
#include <linux/export.h>
#include <linux/nospec.h>
@@ -161,8 +161,8 @@
if (master->unique != NULL)
drm_unset_busid(dev, master);
- if (dev->driver->set_busid) {
- ret = dev->driver->set_busid(dev, master);
+ if (dev->dev && dev_is_pci(dev->pdev)) {
+ ret = drm_pci_set_busid(dev, master);
if (ret) {
drm_unset_busid(dev, master);
return ret;
Home |
Main Index |
Thread Index |
Old Index