Re: [PATCH 01/19] drm/fourcc: Add a function to tell if the format embeds alpha

2018-01-17 Thread Ayan Halder
On Tue, Jan 16, 2018 at 09:17:24PM +0100, Maxime Ripard wrote: > Hi Ayan, > > On Mon, Jan 15, 2018 at 03:47:44PM +, Ayan Halder wrote: > > On Tue, Jan 09, 2018 at 02:28:33PM +0100, Maxime Ripard wrote: > > > On Tue, Jan 09, 2018 at 02:29:58PM +0200, Laurent Pinchart wrote: > > > > On Tuesday,

Re: [PATCH 01/19] drm/fourcc: Add a function to tell if the format embeds alpha

2018-01-16 Thread Maxime Ripard
Hi Ayan, On Mon, Jan 15, 2018 at 03:47:44PM +, Ayan Halder wrote: > On Tue, Jan 09, 2018 at 02:28:33PM +0100, Maxime Ripard wrote: > > On Tue, Jan 09, 2018 at 02:29:58PM +0200, Laurent Pinchart wrote: > > > On Tuesday, 9 January 2018 12:56:20 EET Maxime Ripard wrote: > > > > There's a bunch of

Re: [PATCH 01/19] drm/fourcc: Add a function to tell if the format embeds alpha

2018-01-16 Thread Ayan Halder
On Tue, Jan 09, 2018 at 02:28:33PM +0100, Maxime Ripard wrote: > Hi Laurent, > > On Tue, Jan 09, 2018 at 02:29:58PM +0200, Laurent Pinchart wrote: > > On Tuesday, 9 January 2018 12:56:20 EET Maxime Ripard wrote: > > > There's a bunch of drivers that duplicate the same function to know if a > > > p

Re: [PATCH 01/19] drm/fourcc: Add a function to tell if the format embeds alpha

2018-01-15 Thread Ayan Halder
On Tue, Jan 09, 2018 at 02:28:33PM +0100, Maxime Ripard wrote: > Hi Laurent, > > On Tue, Jan 09, 2018 at 02:29:58PM +0200, Laurent Pinchart wrote: > > On Tuesday, 9 January 2018 12:56:20 EET Maxime Ripard wrote: > > > There's a bunch of drivers that duplicate the same function to know if a > > > pa

Re: [PATCH 01/19] drm/fourcc: Add a function to tell if the format embeds alpha

2018-01-09 Thread Maxime Ripard
Hi Laurent, On Tue, Jan 09, 2018 at 02:29:58PM +0200, Laurent Pinchart wrote: > On Tuesday, 9 January 2018 12:56:20 EET Maxime Ripard wrote: > > There's a bunch of drivers that duplicate the same function to know if a > > particular format embeds an alpha component or not. > > > > Let's create a

Re: [PATCH 01/19] drm/fourcc: Add a function to tell if the format embeds alpha

2018-01-09 Thread Laurent Pinchart
Hi Maxime, Thank you for the patch. On Tuesday, 9 January 2018 12:56:20 EET Maxime Ripard wrote: > There's a bunch of drivers that duplicate the same function to know if a > particular format embeds an alpha component or not. > > Let's create a helper to avoid duplicating that logic. > > Cc: Bo

Re: [PATCH 01/19] drm/fourcc: Add a function to tell if the format embeds alpha

2018-01-09 Thread Boris Brezillon
On Tue, 9 Jan 2018 11:56:20 +0100 Maxime Ripard wrote: > There's a bunch of drivers that duplicate the same function to know if a > particular format embeds an alpha component or not. > > Let's create a helper to avoid duplicating that logic. > > Cc: Boris Brezillon Reviewed-by: Boris Brezil

[PATCH 01/19] drm/fourcc: Add a function to tell if the format embeds alpha

2018-01-09 Thread Maxime Ripard
There's a bunch of drivers that duplicate the same function to know if a particular format embeds an alpha component or not. Let's create a helper to avoid duplicating that logic. Cc: Boris Brezillon Cc: Eric Anholt Cc: Inki Dae Cc: Joonyoung Shim Cc: Kyungmin Park Cc: Laurent Pinchart Cc: