Re: [Mesa-dev] [PATCH 00/13] implement EGL_EXT_image_dma_buf_import_modifiers

2016-11-18 Thread Emil Velikov
On 18 November 2016 at 15:26, Marek Olšák wrote: > On Nov 18, 2016 2:55 PM, "Emil Velikov" wrote: >> >> [Pardon for dropping in uninvited] >> >> On 15 November 2016 at 18:04, Marek Olšák wrote: >> >> > Immutable metadata (modifiers)

Re: [Mesa-dev] [PATCH 00/13] implement EGL_EXT_image_dma_buf_import_modifiers

2016-11-18 Thread Marek Olšák
On Nov 18, 2016 2:55 PM, "Emil Velikov" wrote: > > [Pardon for dropping in uninvited] > > On 15 November 2016 at 18:04, Marek Olšák wrote: > > > Immutable metadata (modifiers) stored in the kernel is the only > > scalable (and thus usable) solution

Re: [Mesa-dev] [PATCH 00/13] implement EGL_EXT_image_dma_buf_import_modifiers

2016-11-18 Thread Emil Velikov
[Pardon for dropping in uninvited] On 15 November 2016 at 18:04, Marek Olšák wrote: > Immutable metadata (modifiers) stored in the kernel is the only > scalable (and thus usable) solution here. There was an argument > against _mutable_ metadata attached to BOs and the

Re: [Mesa-dev] [PATCH 00/13] implement EGL_EXT_image_dma_buf_import_modifiers

2016-11-15 Thread Rob Clark
On Tue, Nov 15, 2016 at 1:04 PM, Marek Olšák wrote: > On Tue, Nov 15, 2016 at 6:26 PM, Rob Clark wrote: >> On Tue, Nov 15, 2016 at 12:17 PM, Marek Olšák wrote: >>> On Tue, Nov 15, 2016 at 5:58 PM, Rob Clark wrote:

Re: [Mesa-dev] [PATCH 00/13] implement EGL_EXT_image_dma_buf_import_modifiers

2016-11-15 Thread Marek Olšák
On Tue, Nov 15, 2016 at 6:26 PM, Rob Clark wrote: > On Tue, Nov 15, 2016 at 12:17 PM, Marek Olšák wrote: >> On Tue, Nov 15, 2016 at 5:58 PM, Rob Clark wrote: >>> On Tue, Nov 15, 2016 at 11:44 AM, Marek Olšák wrote:

Re: [Mesa-dev] [PATCH 00/13] implement EGL_EXT_image_dma_buf_import_modifiers

2016-11-15 Thread Rob Clark
On Tue, Nov 15, 2016 at 12:17 PM, Marek Olšák wrote: > On Tue, Nov 15, 2016 at 5:58 PM, Rob Clark wrote: >> On Tue, Nov 15, 2016 at 11:44 AM, Marek Olšák wrote: >>> >>> Hi, >>> >>> Is the modifier just a driver-specific description of the

Re: [Mesa-dev] [PATCH 00/13] implement EGL_EXT_image_dma_buf_import_modifiers

2016-11-15 Thread Marek Olšák
On Tue, Nov 15, 2016 at 5:58 PM, Rob Clark wrote: > On Tue, Nov 15, 2016 at 11:44 AM, Marek Olšák wrote: >> >> Hi, >> >> Is the modifier just a driver-specific description of the tiling >> layout and compression? >> >> What makes you think that 8 bytes is

Re: [Mesa-dev] [PATCH 00/13] implement EGL_EXT_image_dma_buf_import_modifiers

2016-11-15 Thread Rob Clark
On Tue, Nov 15, 2016 at 11:44 AM, Marek Olšák wrote: > > Hi, > > Is the modifier just a driver-specific description of the tiling > layout and compression? > > What makes you think that 8 bytes is enough to describe that? What if > I need 9 bytes just to program the display

Re: [Mesa-dev] [PATCH 00/13] implement EGL_EXT_image_dma_buf_import_modifiers

2016-11-15 Thread Marek Olšák
Hi, Is the modifier just a driver-specific description of the tiling layout and compression? What makes you think that 8 bytes is enough to describe that? What if I need 9 bytes just to program the display hardware? Drivers importing DMABUFs still have to invoke the texture tiling calculator to

[Mesa-dev] [PATCH 00/13] implement EGL_EXT_image_dma_buf_import_modifiers

2016-11-15 Thread Varad Gautam
Hello, This series implements EGL_EXT_image_dma_buf_import_modifiers [1] which makes it possible to pass drm fourcc modifiers to EGL when importing dmabufs. [1] https://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_image_dma_buf_import_modifiers.txt Pekka Paalanen (5): egl: return