Re: [PATCH RFC] drm: introduce DRM_MODE_FB_PERSIST

2021-10-07 Thread Simon Ser
On Thursday, October 7th, 2021 at 10:10, Hans de Goede wrote: > > I think my order of favourites is: > > 1. RMFB flag > > 2. ioctl to set an existing FB as persistent > > 3. ADDFB flag > > > > They all seem workable to me. > > I fully agree with the above. Thanks for the feedback! It seems l

Re: [PATCH RFC] drm: introduce DRM_MODE_FB_PERSIST

2021-10-07 Thread Hans de Goede
Hi, On 10/7/21 9:45 AM, Pekka Paalanen wrote: > On Wed, 6 Oct 2021 21:24:44 +0200 > Daniel Vetter wrote: > >> On Wed, Oct 6, 2021 at 5:19 PM Simon Ser wrote: >>> This new ADDFB2 flag allows callers to mark a framebuffer as >>> "persistent", and no longer have RMFB semantics when the DRM >>> fil

Re: [PATCH RFC] drm: introduce DRM_MODE_FB_PERSIST

2021-10-07 Thread Pekka Paalanen
On Wed, 6 Oct 2021 21:24:44 +0200 Daniel Vetter wrote: > On Wed, Oct 6, 2021 at 5:19 PM Simon Ser wrote: > > This new ADDFB2 flag allows callers to mark a framebuffer as > > "persistent", and no longer have RMFB semantics when the DRM > > file is closed. > > > > [1]: https://lore.kernel.org/dri-

Re: [PATCH RFC] drm: introduce DRM_MODE_FB_PERSIST

2021-10-06 Thread Daniel Vetter
On Wed, Oct 6, 2021 at 5:19 PM Simon Ser wrote: > This new ADDFB2 flag allows callers to mark a framebuffer as > "persistent", and no longer have RMFB semantics when the DRM > file is closed. > > [1]: https://lore.kernel.org/dri-devel/YTJypepF1Hpc2YYT@reader/ > > Signed-off-by: Simon Ser > Cc: Ha

[PATCH RFC] drm: introduce DRM_MODE_FB_PERSIST

2021-10-06 Thread Simon Ser
This new ADDFB2 flag allows callers to mark a framebuffer as "persistent", and no longer have RMFB semantics when the DRM file is closed. [1]: https://lore.kernel.org/dri-devel/YTJypepF1Hpc2YYT@reader/ Signed-off-by: Simon Ser Cc: Hans de Goede Cc: Dennis Filder Cc: Daniel Vetter Cc: Pekka Pa