Re: [Mesa-dev] [PATCH v2 00/10] Map support for GBM bos

2014-04-08 Thread Ander Conselvan de Oliveira
On 04/04/2014 01:20 PM, Thomas Hellstrom wrote: NAK! No generic mmap() APIs of GBM bos, please. The reason is that this impossible to implement in an efficient way on non-coherent architectures, and once the interface is there, people will start using it and ignore the non-coherent architecture

Re: [Mesa-dev] [PATCH v2 00/10] Map support for GBM bos

2014-04-04 Thread Emil Velikov
On 04/04/14 09:36, Ander Conselvan de Oliveira wrote: > From: Ander Conselvan de Oliveira > > Changes from previous version: > > - removed the extra gbm egl platform; > > - set errno to ENOSYS when the map/unmap capability is not implemented. > > Thanks, > Ander > Hi Ander, Considering Tho

Re: [Mesa-dev] [PATCH v2 00/10] Map support for GBM bos

2014-04-04 Thread Thomas Hellstrom
NAK! No generic mmap() APIs of GBM bos, please. The reason is that this impossible to implement in an efficient way on non-coherent architectures, and once the interface is there, people will start using it and ignore the non-coherent architectures. And these will, in the end, have to implement a

[Mesa-dev] [PATCH v2 00/10] Map support for GBM bos

2014-04-04 Thread Ander Conselvan de Oliveira
From: Ander Conselvan de Oliveira Changes from previous version: - removed the extra gbm egl platform; - set errno to ENOSYS when the map/unmap capability is not implemented. Thanks, Ander Ander Conselvan de Oliveira (9): gbm: Set errno on errors gbm: Move private pointer from gbm_dri_s