Re: Should multiple PRIME_FD_TO_HANDLE ioctls on the same fd require multiple GEM_CLOSE?

2021-10-12 Thread John Cox
On Tue, 12 Oct 2021 17:33:18 +, you wrote: >Yes, this is expected behavior, even if it's not intuitive. For more >details, see: > >https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/110 Thanks - as noted in that discussion the behaviour is a bit unhelpful but just knowing that it is

Should multiple PRIME_FD_TO_HANDLE ioctls on the same fd require multiple GEM_CLOSE?

2021-10-12 Thread John Cox
nother. Many thanks John Cox

Re: How to obtain a drm lease from X for overlay planes as well as a primary plane?

2021-08-12 Thread John Cox
lps! Very many thanks for the pointers - to a large extent my problem is that I don't know what should work in order to build something around it and then work out why it doesn't. I've got video decode down pat, but modern display still eludes me - I grew up on STBs and the like where you could just use the h/w directly, now its a lot more controlled. Ta again John Cox

Re: How to obtain a drm lease from X for overlay planes as well as a primary plane?

2021-08-11 Thread John Cox
or deal with KMS planes is the preferred >approach. If that can be made to work then I agree I would like to do it like that. Many thanks for the response. John Cox

Re: How to obtain a drm lease from X for overlay planes as well as a primary plane?

2021-08-11 Thread John Cox
>On Tue, Aug 10, 2021 at 05:57:31PM +0100, John Cox wrote: >> Hi all >> >> I am on a Raspberry Pi, I want to display fullscreen video and have a >> couple of overlay planes to display controls / subtitles etc. The h/w >> can certainly do this. I need to b

How to obtain a drm lease from X for overlay planes as well as a primary plane?

2021-08-10 Thread John Cox
ng about getting some more planes to use for overlays? Pointers to documentation / examples gratefully received - so far my google-foo has failed to find anything that works. I'm sorry if this is the wrong place to ask, but if there is a better place please say and I'll go there. Many thanks John Cox