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/include/drm provide a stub drm_writeba...



details:   https://anonhg.NetBSD.org/src/rev/02b82d7df68a
branches:  trunk
changeset: 1028142:02b82d7df68a
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:58:11 2021 +0000

description:
provide a stub drm_writeback_prepare_job, knf


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/include/drm/drm_writeback.h |  14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 1ac27162400b -r 02b82d7df68a sys/external/bsd/drm2/include/drm/drm_writeback.h
--- a/sys/external/bsd/drm2/include/drm/drm_writeback.h Sun Dec 19 01:58:04 2021 +0000
+++ b/sys/external/bsd/drm2/include/drm/drm_writeback.h Sun Dec 19 01:58:11 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_writeback.h,v 1.3 2021/12/19 01:57:49 riastradh Exp $      */
+/*     $NetBSD: drm_writeback.h,v 1.4 2021/12/19 01:58:11 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -48,8 +48,18 @@
        drm_writeback_get_out_fence(struct drm_writeback_connector *);
 
 static inline void
-drm_writeback_cleanup_job(struct drm_writeback_job *job) {
+drm_writeback_cleanup_job(struct drm_writeback_job *job)
+{
+
        panic("TODO");
 }
 
+static inline int
+drm_writeback_prepare_job(struct drm_writeback_job *job)
+{
+
+       panic("TODO");
+       return 0;
+}
+
 #endif /* _DRM_DRM_WRITEBACK_H_ */



Home | Main Index | Thread Index | Old Index