History

drm: Advertise async page flip ability through GETCAP ioctl

Let applications know whether the kernel supports asynchronous page flipping.

Keith Packard committed 13 years ago

Commit 62f21041 parent 9bba0c44 files · +10 −0Browse files

Showing the changes to include/uapi/drm (1 of 4 files). Show all

Unified · Split

include/uapi/drm/drm.h+1−0
@@ -780,6 +780,7 @@ struct drm_event_vblank { · 779 unmodified lines
780#define DRM_CAP_DUMB_PREFER_SHADOW 0x4780#define DRM_CAP_DUMB_PREFER_SHADOW 0x4
781#define DRM_CAP_PRIME 0x5781#define DRM_CAP_PRIME 0x5
782#define DRM_CAP_TIMESTAMP_MONOTONIC 0x6782#define DRM_CAP_TIMESTAMP_MONOTONIC 0x6
783#define DRM_CAP_ASYNC_PAGE_FLIP 0x7
783 784
784#define DRM_PRIME_CAP_IMPORT 0x1785#define DRM_PRIME_CAP_IMPORT 0x1
785#define DRM_PRIME_CAP_EXPORT 0x2786#define DRM_PRIME_CAP_EXPORT 0x2