Re: [Mesa-dev] [PATCH 11/27] gbm: Get modifiers from DRI

2016-12-26 Thread Ben Widawsky
On 16-12-02 09:43:07, Daniel Stone wrote: Hi Ben, On 1 December 2016 at 22:09, Ben Widawsky wrote: @@ -678,6 +679,28 @@ gbm_dri_bo_get_offset(struct gbm_bo *_bo, int plane) return (uint32_t)offset; } +static uint64_t +gbm_dri_bo_get_modifier(struct gbm_bo *_bo) +{ + struct gbm_dri_devi

Re: [Mesa-dev] [PATCH 11/27] gbm: Get modifiers from DRI

2016-12-02 Thread Daniel Stone
Hi Ben, On 1 December 2016 at 22:09, Ben Widawsky wrote: > @@ -678,6 +679,28 @@ gbm_dri_bo_get_offset(struct gbm_bo *_bo, int plane) > return (uint32_t)offset; > } > > +static uint64_t > +gbm_dri_bo_get_modifier(struct gbm_bo *_bo) > +{ > + struct gbm_dri_device *dri = gbm_dri_device(_bo->

[Mesa-dev] [PATCH 11/27] gbm: Get modifiers from DRI

2016-12-01 Thread Ben Widawsky
From: Ben Widawsky v2: Use stored modifiers from create instead of queryImage Discussion with Kristian yielded that there is no need for per plane modifiers. Signed-off-by: Ben Widawsky --- src/gbm/backends/dri/gbm_dri.c | 32 src/gbm/gbm-symbols-che