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 More drm_writeback stubs.



details:   https://anonhg.NetBSD.org/src/rev/73e6c5808e03
branches:  trunk
changeset: 1027821:73e6c5808e03
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 00:49:29 2021 +0000

description:
More drm_writeback stubs.

diffstat:

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

diffs (28 lines):

diff -r 3cc89b943d8c -r 73e6c5808e03 sys/external/bsd/drm2/include/drm/drm_writeback.h
--- a/sys/external/bsd/drm2/include/drm/drm_writeback.h Sun Dec 19 00:49:22 2021 +0000
+++ b/sys/external/bsd/drm2/include/drm/drm_writeback.h Sun Dec 19 00:49:29 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_writeback.h,v 1.1 2021/12/19 00:26:27 riastradh Exp $      */
+/*     $NetBSD: drm_writeback.h,v 1.2 2021/12/19 00:49:29 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -33,11 +33,18 @@
 #define        _DRM_DRM_WRITEBACK_H_
 
 struct dma_fence;
+struct drm_connector;
 struct drm_framebuffer;
+struct drm_writeback_connector;
 
 struct drm_writeback_job {
        struct drm_framebuffer  *fb;
        struct dma_fence        *out_fence;
 };
 
+struct drm_writeback_connector *
+       drm_connector_to_writeback(struct drm_connector *);
+struct dma_fence *
+       drm_writeback_get_out_fence(struct drm_writeback_connector *);
+
 #endif /* _DRM_DRM_WRITEBACK_H_ */



Home | Main Index | Thread Index | Old Index