Re: [PATCH 1/3] RFC: drm: Restrict vblank ioctl to master

2017-05-07 Thread Rainer Hochecker
>> > > Yep. The weird thing about that extension is that it only implements the > query vblank count/timestamp part of GLX_OML_sync_control. Sounds like the > least useful bit of all in isolation, although the extension as a whole > could be useful, just as on GLX. Also note this comment on that co

[PATCH] drm: add fourcc codes for 16bit R and GR

2017-01-02 Thread Rainer Hochecker
t 3:05 PM, Ville Syrjälä wrote: > On Mon, Jan 02, 2017 at 01:23:23PM +0100, David Herrmann wrote: > > Hi > > > > On Mon, Jan 2, 2017 at 11:41 AM, Rainer Hochecker > wrote: > > > From: Rainer Hochecker > > > > > > Add fourcc codes for 16bi

[PATCH] drm: add fourcc codes for 16bit R and GR

2017-01-02 Thread Rainer Hochecker
, Ville Syrjälä wrote: > On Mon, Jan 02, 2017 at 01:23:23PM +0100, David Herrmann wrote: > > Hi > > > > On Mon, Jan 2, 2017 at 11:41 AM, Rainer Hochecker > wrote: > > > From: Rainer Hochecker > > > > > > Add fourcc codes for 16bit planes. Required

[PATCH] drm: add fourcc codes for 16bit R and GR

2017-01-03 Thread Rainer Hochecker
On Mon, Jan 2, 2017 at 3:31 PM, Rainer Hochecker wrote: > > I chose GR16 because that matches with Mesa texture formats. Unfortunately > RG16 is already taken by DRM_FORMAT_RGB565 > So GR32 / RG32 might be better. All other codes in fourcc.h seem to sum up > all planes. > > (

[PATCH v2] drm: add fourcc codes for 16bit R and GR

2017-01-03 Thread Rainer Hochecker
From: Rainer Hochecker Now sent with git send-email: Signed-off-by: Rainer Hochecker --- include/uapi/drm/drm_fourcc.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h index a5890bf..f1ef9cb 100644 --- a/include/uapi/drm

[PATCH v3] drm: add fourcc codes for 16bit R and RG

2017-01-04 Thread Rainer Hochecker
From: Rainer Hochecker This adds fourcc codes for 16bit planes required for DRM buffer export to mesa. Signed-off-by: Rainer Hochecker --- include/uapi/drm/drm_fourcc.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h

[PATCH v4] drm: add fourcc codes for 16bit R and RG

2017-01-04 Thread Rainer Hochecker
From: Rainer Hochecker Signed-off-by: Rainer Hochecker --- include/uapi/drm/drm_fourcc.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h index a5890bf..4d65fb6 100644 --- a/include/uapi/drm/drm_fourcc.h +++ b/include/uapi

[PATCH v5] drm: add fourcc codes for 16bit R and RG

2017-01-04 Thread Rainer Hochecker
From: Rainer Hochecker Thanks for bearing with me. My ml skills have greatly improved now :) v5 of patch: This adds fourcc codes for 16bit planes required for DRM buffer export to mesa. Signed-off-by: Rainer Hochecker --- include/uapi/drm/drm_fourcc.h | 7 +++ 1 file changed, 7

[PATCH v6] drm: add fourcc codes for 16bit R and RG

2017-01-04 Thread Rainer Hochecker
From: Rainer Hochecker This adds fourcc codes for 16bit planes required for DRM buffer export to mesa. Signed-off-by: Rainer Hochecker --- include/uapi/drm/drm_fourcc.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h

[PATCH 1/3] RFC: drm: Restrict vblank ioctl to master

2016-06-16 Thread Rainer Hochecker
Daniel, Peter posted me some snippets about your discussion around vblank that confused me. Our use case is as follows: We synchronise our video player clock to the pace of the display. Assume we play some 23.976 content and the actual refresh rate is 24hz. We increment the clock every vblank, tha

[PATCH 1/3] RFC: drm: Restrict vblank ioctl to master

2016-06-17 Thread Rainer Hochecker
platform. Rainer On Thu, Jun 16, 2016 at 6:17 PM, Daniel Vetter wrote: > On Thu, Jun 16, 2016 at 3:02 PM, Rainer Hochecker > wrote: > > Daniel, > > > > Peter posted me some snippets about your discussion around vblank that > > confused me. Our use case is as follows

[PATCH 1/3] RFC: drm: Restrict vblank ioctl to master

2016-06-20 Thread Rainer Hochecker
Thanks a lot. Would you know if/when Wayland will support OpenGL? Rainer On Mon, Jun 20, 2016 at 4:46 PM, Daniel Stone wrote: > Hi Rainer, > > On 17 June 2016 at 22:00, Rainer Hochecker wrote: > > I agree. GLX_OML_sync_control fulfils all our requirements apart from > being

[PATCH 1/3] RFC: drm: Restrict vblank ioctl to master

2016-06-21 Thread Rainer Hochecker
lient side of X, so we're using GLES2 for now. Longer term, we'll need a way to use full GL under Wayland.* On Tue, Jun 21, 2016 at 1:27 AM, Daniel Stone wrote: > Hi, > > On 21 June 2016 at 04:24, Rainer Hochecker wrote: > > Thanks a lot. > > Would you know if/when

[PATCH 1/3] RFC: drm: Restrict vblank ioctl to master

2016-06-21 Thread Rainer Hochecker
Thanks for clarification. That changes my view on Wayland. Cheers, Rainer On Tue, Jun 21, 2016 at 7:01 AM, Daniel Stone wrote: > Hi, > > On 21 June 2016 at 14:57, Rainer Hochecker wrote: > > Are you saying that this is outdated: > > https://wayland.freedesktop.org/faq.

[PATCH 1/3] RFC: drm: Restrict vblank ioctl to master

2016-06-23 Thread Rainer Hochecker
l for EGL. Don't waste resources and let the old crap die. Rainer On Tue, Jun 21, 2016 at 7:15 AM, Rainer Hochecker wrote: > Thanks for clarification. That changes my view on Wayland. > > Cheers, > Rainer > > On Tue, Jun 21, 2016 at 7:01 AM, Daniel Stone > wrote: > >

[PATCH 1/3] RFC: drm: Restrict vblank ioctl to master

2016-07-13 Thread Rainer Hochecker
work? Rainer On Tue, Jul 12, 2016 at 12:29 PM, Daniel Vetter wrote: > On Fri, Jun 24, 2016 at 06:55:55AM +1000, Daniel Stone wrote: > > Hi Rainer, > > > > On 24 June 2016 at 05:54, Rainer Hochecker wrote: > > > I spent some time reading and investigating on this.

[PATCH 1/3] RFC: drm: Restrict vblank ioctl to master

2016-07-13 Thread Rainer Hochecker
We have been using this for years now and did not observe issues you mentioned. I would be surprised if a child window refreshes in a different rate than the main window Am 13.07.2016 11:44 schrieb "Michel Dänzer" : On 13.07.2016 15:50, Rainer Hochecker wrote: > Whatever action is

[PATCH 1/3] RFC: drm: Restrict vblank ioctl to master

2016-07-13 Thread Rainer Hochecker
GLX can't interop with libva in a reasonable way. That was the reason why we switched to EGL Am 13.07.2016 11:48 schrieb "Daniel Vetter" : On Wed, Jul 13, 2016 at 06:43:37PM +0900, Michel Dänzer wrote: > On 13.07.2016 15:50, Rainer Hochecker wrote: > > Whatever action

[PATCH 1/3] RFC: drm: Restrict vblank ioctl to master

2016-07-25 Thread Rainer Hochecker
Am 25.07.2016 08:38 schrieb "Michel Dänzer" : > > On 13.07.2016 18:49, Rainer Hochecker wrote: > > We have been using this for years now and did not observe issues you > > mentioned. I would be surprised if a child window refreshes in a > > different rate than t