* [PATCH] Add DRM_MODE_PAGE_FLIP_ASYNC define
@ 2013-11-07 0:23 Keith Packard
2013-11-07 0:42 ` Eric Anholt
0 siblings, 1 reply; 3+ messages in thread
From: Keith Packard @ 2013-11-07 0:23 UTC (permalink / raw)
To: mesa-dev, eric; +Cc: dri-devel
This exposes the kernel API for performing asynchronous flips
Signed-off-by: Keith Packard <keithp@keithp.com>
---
include/drm/drm.h | 1 +
include/drm/drm_mode.h | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/drm/drm.h b/include/drm/drm.h
index 725bf51..f0b4c16 100644
--- a/include/drm/drm.h
+++ b/include/drm/drm.h
@@ -797,6 +797,7 @@ struct drm_event_vblank {
#define DRM_CAP_DUMB_PREFER_SHADOW 0x4
#define DRM_CAP_PRIME 0x5
#define DRM_CAP_TIMESTAMP_MONOTONIC 0x6
+#define DRM_CAP_ASYNC_PAGE_FLIP 0x7
#define DRM_PRIME_CAP_IMPORT 0x1
#define DRM_PRIME_CAP_EXPORT 0x2
diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h
index c1bb1a3..76fd76b 100644
--- a/include/drm/drm_mode.h
+++ b/include/drm/drm_mode.h
@@ -425,7 +425,8 @@ struct drm_mode_crtc_lut {
};
#define DRM_MODE_PAGE_FLIP_EVENT 0x01
-#define DRM_MODE_PAGE_FLIP_FLAGS DRM_MODE_PAGE_FLIP_EVENT
+#define DRM_MODE_PAGE_FLIP_ASYNC 0x02
+#define DRM_MODE_PAGE_FLIP_FLAGS (DRM_MODE_PAGE_FLIP_EVENT|DRM_MODE_PAGE_FLIP_ASYNC)
/*
* Request a page flip on the specified crtc.
--
1.8.4.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Add DRM_MODE_PAGE_FLIP_ASYNC define
2013-11-07 0:23 [PATCH] Add DRM_MODE_PAGE_FLIP_ASYNC define Keith Packard
@ 2013-11-07 0:42 ` Eric Anholt
2013-11-07 3:50 ` Keith Packard
0 siblings, 1 reply; 3+ messages in thread
From: Eric Anholt @ 2013-11-07 0:42 UTC (permalink / raw)
To: Keith Packard, mesa-dev; +Cc: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 204 bytes --]
Keith Packard <keithp@keithp.com> writes:
> This exposes the kernel API for performing asynchronous flips
>
> Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
[-- Attachment #1.2: Type: application/pgp-signature, Size: 835 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Add DRM_MODE_PAGE_FLIP_ASYNC define
2013-11-07 0:42 ` Eric Anholt
@ 2013-11-07 3:50 ` Keith Packard
0 siblings, 0 replies; 3+ messages in thread
From: Keith Packard @ 2013-11-07 3:50 UTC (permalink / raw)
To: Eric Anholt, mesa-dev; +Cc: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 324 bytes --]
Eric Anholt <eric@anholt.net> writes:
> Keith Packard <keithp@keithp.com> writes:
>
>> This exposes the kernel API for performing asynchronous flips
>>
>> Signed-off-by: Keith Packard <keithp@keithp.com>
>
> Reviewed-by: Eric Anholt <eric@anholt.net>
I've pushed this to master.
--
keith.packard@intel.com
[-- Attachment #1.2: Type: application/pgp-signature, Size: 827 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-07 3:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-07 0:23 [PATCH] Add DRM_MODE_PAGE_FLIP_ASYNC define Keith Packard
2013-11-07 0:42 ` Eric Anholt
2013-11-07 3:50 ` Keith Packard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.