Re: [PATCH] linux-dmabuf: clarify DRM_FORMAT_MOD_INVALID

2019-04-17 Thread Pekka Paalanen
On Tue, 16 Apr 2019 10:04:18 -0700 Chia-I Wu wrote: > On Tue, Apr 16, 2019 at 2:52 AM Pekka Paalanen wrote: > > > > On Fri, 12 Apr 2019 10:50:49 -0700 > > Chia-I Wu wrote: > > > > > Moving the discussion to this patch... > > > > > > This patch clarifies how implicit modifier can be supported,

Re: [PATCH] linux-dmabuf: clarify DRM_FORMAT_MOD_INVALID

2019-04-16 Thread Chia-I Wu
On Tue, Apr 16, 2019 at 2:52 AM Pekka Paalanen wrote: > > On Fri, 12 Apr 2019 10:50:49 -0700 > Chia-I Wu wrote: > > > Moving the discussion to this patch... > > > > This patch clarifies how implicit modifier can be supported, modelling > > after Weston's behavior. I can see three options > > > >

Re: [PATCH] linux-dmabuf: clarify DRM_FORMAT_MOD_INVALID

2019-04-16 Thread Pekka Paalanen
On Fri, 12 Apr 2019 10:50:49 -0700 Chia-I Wu wrote: > Moving the discussion to this patch... > > This patch clarifies how implicit modifier can be supported, modelling > after Weston's behavior. I can see three options > > 1. DRM_FORMAT_MOD_INVALID means implicit modifier, and is always allow

Re: [PATCH] linux-dmabuf: clarify DRM_FORMAT_MOD_INVALID

2019-04-12 Thread Chia-I Wu
Moving the discussion to this patch... This patch clarifies how implicit modifier can be supported, modelling after Weston's behavior. I can see three options 1. DRM_FORMAT_MOD_INVALID means implicit modifier, and is always allowed in buffer creation 2. DRM_FORMAT_MOD_INVALID means implicit mo

Re: [PATCH] linux-dmabuf: clarify DRM_FORMAT_MOD_INVALID

2019-04-09 Thread Chia-I Wu
Talked with Daniel offline. I sent a different version to revive the format event. On Mon, Apr 1, 2019 at 10:41 AM Chia-I Wu wrote: > DRM_FORMAT_MOD_INVALID means to derive the modifier from the dmabuf. > > Signed-off-by: Chia-I Wu > --- > .../linux-dmabuf/linux-dmabuf-unstable-v1.xml | 1

[PATCH] linux-dmabuf: clarify DRM_FORMAT_MOD_INVALID

2019-04-01 Thread Chia-I Wu
DRM_FORMAT_MOD_INVALID means to derive the modifier from the dmabuf. Signed-off-by: Chia-I Wu --- .../linux-dmabuf/linux-dmabuf-unstable-v1.xml | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml b/unstable/l