~emersion/go-drm

08f3851284ff3a3439bc6b3f68809fe250babcc9 — Simon Ser 1 year, 10 months ago 82ff1ad
Add CapSyncObjTimeline

See https://gitlab.freedesktop.org/mesa/drm/commit/f3e6d22baa5b69c8a4f90e1fc27d095cf0eff687
1 files changed, 3 insertions(+), 0 deletions(-)

M const.go
M const.go => const.go +3 -0
@@ 61,6 61,7 @@ const (
	CapPageFlipTarget      Cap = 0x11
	CapCRTCInVBlankEvent   Cap = 0x12
	CapSyncObj             Cap = 0x13
	CapSyncObjTimeline     Cap = 0x14
)

func (c Cap) String() string {


@@ 91,6 92,8 @@ func (c Cap) String() string {
		return "CRTC_IN_VBLANK_EVENT"
	case CapSyncObj:
		return "SYNCOBJ"
	case CapSyncObjTimeline:
		return "SYNCOBJ_TIMELINE"
	}
	return "unknown"
}