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/drm stub drm_lease.c the same way as o...



details:   https://anonhg.NetBSD.org/src/rev/0697d55157f5
branches:  trunk
changeset: 1028481:0697d55157f5
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:08:47 2021 +0000

description:
stub drm_lease.c the same way as openbsd


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

diffstat:

 sys/external/bsd/drm2/drm/drm_lease.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (44 lines):

diff -r 1c57677c8a39 -r 0697d55157f5 sys/external/bsd/drm2/drm/drm_lease.c
--- a/sys/external/bsd/drm2/drm/drm_lease.c     Sun Dec 19 11:08:40 2021 +0000
+++ b/sys/external/bsd/drm2/drm/drm_lease.c     Sun Dec 19 11:08:47 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_lease.c,v 1.4 2021/12/19 10:46:09 riastradh Exp $  */
+/*     $NetBSD: drm_lease.c,v 1.5 2021/12/19 11:08:47 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_lease.c,v 1.4 2021/12/19 10:46:09 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_lease.c,v 1.5 2021/12/19 11:08:47 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/errno.h>
@@ -90,7 +90,7 @@
 bool
 _drm_lease_held(struct drm_file *file, int id)
 {
-       panic("%s: not yet implemented", __func__);
+       return true;
 }
 
 /*
@@ -101,7 +101,6 @@
 void
 drm_lease_revoke(struct drm_master *master)
 {
-       panic("%s: not yet implemented", __func__);
 }
 
 /*
@@ -112,7 +111,7 @@
 uint32_t
 drm_lease_filter_crtcs(struct drm_file *file, uint32_t crtcs)
 {
-       panic("%s: not yet implemented", __func__);
+       return crtcs;
 }
 
 /*



Home | Main Index | Thread Index | Old Index