Re: [PATCH v2 1/2] drm: bridge: dw-hdmi: Take input format from plat_data

2017-03-06 Thread Neil Armstrong
On 03/06/2017 01:17 PM, Jose Abreu wrote: > Hi Neil, > > > On 06-03-2017 10:41, Neil Armstrong wrote: >> On 03/03/2017 06:22 PM, Jose Abreu wrote: >>> Hi Neil, >>> >>> >>> On 03-03-2017 16:42, Neil Armstrong wrote: Sure, I was meaning the *input* format the controller receives from the

Re: [PATCH v2 1/2] drm: bridge: dw-hdmi: Take input format from plat_data

2017-03-06 Thread Neil Armstrong
On 03/06/2017 01:17 PM, Jose Abreu wrote: > Hi Neil, > > > On 06-03-2017 10:41, Neil Armstrong wrote: >> On 03/03/2017 06:22 PM, Jose Abreu wrote: >>> Hi Neil, >>> >>> >>> On 03-03-2017 16:42, Neil Armstrong wrote: Sure, I was meaning the *input* format the controller receives from the

Re: [PATCH v2 1/2] drm: bridge: dw-hdmi: Take input format from plat_data

2017-03-06 Thread Jose Abreu
Hi Neil, On 06-03-2017 10:41, Neil Armstrong wrote: > On 03/03/2017 06:22 PM, Jose Abreu wrote: >> Hi Neil, >> >> >> On 03-03-2017 16:42, Neil Armstrong wrote: >>> Sure, I was meaning the *input* format the controller receives from the >>> pixel encoder, I'm quite sure the format is strict. >>>

Re: [PATCH v2 1/2] drm: bridge: dw-hdmi: Take input format from plat_data

2017-03-06 Thread Jose Abreu
Hi Neil, On 06-03-2017 10:41, Neil Armstrong wrote: > On 03/03/2017 06:22 PM, Jose Abreu wrote: >> Hi Neil, >> >> >> On 03-03-2017 16:42, Neil Armstrong wrote: >>> Sure, I was meaning the *input* format the controller receives from the >>> pixel encoder, I'm quite sure the format is strict. >>>

Re: [PATCH v2 1/2] drm: bridge: dw-hdmi: Take input format from plat_data

2017-03-06 Thread Neil Armstrong
On 03/03/2017 06:22 PM, Jose Abreu wrote: > Hi Neil, > > > On 03-03-2017 16:42, Neil Armstrong wrote: >> >> Sure, I was meaning the *input* format the controller receives from the >> pixel encoder, I'm quite sure the format is strict. >> > > Hmm, not quite following you here. As far as the

Re: [PATCH v2 1/2] drm: bridge: dw-hdmi: Take input format from plat_data

2017-03-06 Thread Neil Armstrong
On 03/03/2017 06:22 PM, Jose Abreu wrote: > Hi Neil, > > > On 03-03-2017 16:42, Neil Armstrong wrote: >> >> Sure, I was meaning the *input* format the controller receives from the >> pixel encoder, I'm quite sure the format is strict. >> > > Hmm, not quite following you here. As far as the

Re: [PATCH v2 1/2] drm: bridge: dw-hdmi: Take input format from plat_data

2017-03-03 Thread Jose Abreu
Hi Neil, On 03-03-2017 16:42, Neil Armstrong wrote: > > Sure, I was meaning the *input* format the controller receives from the > pixel encoder, I'm quite sure the format is strict. > Hmm, not quite following you here. As far as the controller goes it supports the formats I mentioned: -

Re: [PATCH v2 1/2] drm: bridge: dw-hdmi: Take input format from plat_data

2017-03-03 Thread Jose Abreu
Hi Neil, On 03-03-2017 16:42, Neil Armstrong wrote: > > Sure, I was meaning the *input* format the controller receives from the > pixel encoder, I'm quite sure the format is strict. > Hmm, not quite following you here. As far as the controller goes it supports the formats I mentioned: -

Re: [PATCH v2 1/2] drm: bridge: dw-hdmi: Take input format from plat_data

2017-03-03 Thread Jose Abreu
Hi Neil, On 03-03-2017 11:31, Neil Armstrong wrote: > > Sure, but I was struggling about finding an equivalence. > > How should I replace these ? > > DW_HDMI_ENC_FMT_RGB > DW_HDMI_ENC_FMT_YCBCR444 > DW_HDMI_ENC_FMT_YCBCR422_16BITS > DW_HDMI_ENC_FMT_YCBCR422_8BITS > DW_HDMI_ENC_FMT_XVYCC444 > > I

Re: [PATCH v2 1/2] drm: bridge: dw-hdmi: Take input format from plat_data

2017-03-03 Thread Jose Abreu
Hi Neil, On 03-03-2017 11:31, Neil Armstrong wrote: > > Sure, but I was struggling about finding an equivalence. > > How should I replace these ? > > DW_HDMI_ENC_FMT_RGB > DW_HDMI_ENC_FMT_YCBCR444 > DW_HDMI_ENC_FMT_YCBCR422_16BITS > DW_HDMI_ENC_FMT_YCBCR422_8BITS > DW_HDMI_ENC_FMT_XVYCC444 > > I

Re: [PATCH v2 1/2] drm: bridge: dw-hdmi: Take input format from plat_data

2017-03-03 Thread Neil Armstrong
On 03/03/2017 05:39 PM, Jose Abreu wrote: > Hi Neil, > > > On 03-03-2017 11:31, Neil Armstrong wrote: >> >> Sure, but I was struggling about finding an equivalence. >> >> How should I replace these ? >> >> DW_HDMI_ENC_FMT_RGB >> DW_HDMI_ENC_FMT_YCBCR444 >> DW_HDMI_ENC_FMT_YCBCR422_16BITS >>

Re: [PATCH v2 1/2] drm: bridge: dw-hdmi: Take input format from plat_data

2017-03-03 Thread Neil Armstrong
On 03/03/2017 05:39 PM, Jose Abreu wrote: > Hi Neil, > > > On 03-03-2017 11:31, Neil Armstrong wrote: >> >> Sure, but I was struggling about finding an equivalence. >> >> How should I replace these ? >> >> DW_HDMI_ENC_FMT_RGB >> DW_HDMI_ENC_FMT_YCBCR444 >> DW_HDMI_ENC_FMT_YCBCR422_16BITS >>

Re: [PATCH v2 1/2] drm: bridge: dw-hdmi: Take input format from plat_data

2017-03-03 Thread Neil Armstrong
On 03/02/2017 04:45 PM, Laurent Pinchart wrote: > Hi Neil, > > Thank you for the patch. > > On Thursday 02 Mar 2017 16:29:31 Neil Armstrong wrote: >> Some display pipelines can only provide non-RBG input pixels to the HDMI TX >> Controller, this patch takes the pixel format from the plat_data if

Re: [PATCH v2 1/2] drm: bridge: dw-hdmi: Take input format from plat_data

2017-03-03 Thread Neil Armstrong
On 03/02/2017 04:45 PM, Laurent Pinchart wrote: > Hi Neil, > > Thank you for the patch. > > On Thursday 02 Mar 2017 16:29:31 Neil Armstrong wrote: >> Some display pipelines can only provide non-RBG input pixels to the HDMI TX >> Controller, this patch takes the pixel format from the plat_data if

Re: [PATCH v2 1/2] drm: bridge: dw-hdmi: Take input format from plat_data

2017-03-02 Thread Laurent Pinchart
Hi Neil, Thank you for the patch. On Thursday 02 Mar 2017 16:29:31 Neil Armstrong wrote: > Some display pipelines can only provide non-RBG input pixels to the HDMI TX > Controller, this patch takes the pixel format from the plat_data if > provided. > > Signed-off-by: Neil Armstrong

Re: [PATCH v2 1/2] drm: bridge: dw-hdmi: Take input format from plat_data

2017-03-02 Thread Laurent Pinchart
Hi Neil, Thank you for the patch. On Thursday 02 Mar 2017 16:29:31 Neil Armstrong wrote: > Some display pipelines can only provide non-RBG input pixels to the HDMI TX > Controller, this patch takes the pixel format from the plat_data if > provided. > > Signed-off-by: Neil Armstrong > --- >

[PATCH v2 1/2] drm: bridge: dw-hdmi: Take input format from plat_data

2017-03-02 Thread Neil Armstrong
Some display pipelines can only provide non-RBG input pixels to the HDMI TX Controller, this patch takes the pixel format from the plat_data if provided. Signed-off-by: Neil Armstrong --- drivers/gpu/drm/bridge/dw-hdmi.c | 59

[PATCH v2 1/2] drm: bridge: dw-hdmi: Take input format from plat_data

2017-03-02 Thread Neil Armstrong
Some display pipelines can only provide non-RBG input pixels to the HDMI TX Controller, this patch takes the pixel format from the plat_data if provided. Signed-off-by: Neil Armstrong --- drivers/gpu/drm/bridge/dw-hdmi.c | 59