Re: [RFC][PATCH 1/5] drm_hwcomposer: provide a common gralloc handle definition

2018-01-10 Thread John Stultz
On Wed, Jan 10, 2018 at 12:39 PM, Rob Herring wrote: > On Wed, Jan 10, 2018 at 12:05 AM, John Stultz wrote: >> From: Rob Herring >> >> EGL, gralloc, and HWC must all have a common definition of fd's and int's >> in native_handle_t to share the fd and width, height, format, etc. of a >> dmabuf. >

Re: [RFC][PATCH 1/5] drm_hwcomposer: provide a common gralloc handle definition

2018-01-10 Thread Rob Herring
On Wed, Jan 10, 2018 at 12:05 AM, John Stultz wrote: > From: Rob Herring > > EGL, gralloc, and HWC must all have a common definition of fd's and int's > in native_handle_t to share the fd and width, height, format, etc. of a > dmabuf. > > Move the definition into HWC so we aren't dependent on a s

[RFC][PATCH 1/5] drm_hwcomposer: provide a common gralloc handle definition

2018-01-09 Thread John Stultz
From: Rob Herring EGL, gralloc, and HWC must all have a common definition of fd's and int's in native_handle_t to share the fd and width, height, format, etc. of a dmabuf. Move the definition into HWC so we aren't dependent on a specific gralloc implementation and so we don't have to create an i