[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg-devel
Subject:    [PATCH xserver 0/2] Clean up modesetting vblank. Add new API [v2]
From:       Keith Packard <keithp () keithp ! com>
Date:       2017-09-29 15:48:32
Message-ID: 20170929154834.11011-1-keithp () keithp ! com
[Download RAW message or body]

Here's a second complete series with two issues addressed:

 1) Missing '|' when computing old ioctl type param
 2) Moved a bit of code from the first patch to the second (thanks Michel Dänzer)

Daniel Vetter asked if I might demonstrate the new kernel vblank API
I've proposed by implementing support in the modesetting driver. It
turned out to be a good idea because the easiest way was to wrap
drmWaitVBlank in a new function that provided a simpler API and then
go add support for the new interface there.

The result was that I discovered some of the existing callers were not
handling the kernel event queue being full by checking for EBUSY and
calling ms_flush_drm_events.

So, the first patch fixes real bugs, and cleans up the code to boot.

The second patch adds support for the new kernel interface I've
proposed. The API is supported in my drm library's 'drm-lease' branch
here:

	git://people.freedesktop.org/~keithp/drm.git drm-lease

This patch series is on my drm-vblank branch in the X server:

	git://people.freedesktop.org/~keithp/xserver.git drm-vblank

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic