Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1439719
| From | Philipp Zabel <p.zabel@pengutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 12/16] gpu: ipu-v3: Fix CSI0 blur in NTSC format |
| Date | 2016-07-08 19:40 +0200 |
| Message-ID | <rSHUT-7Ss-41@gated-at.bofh.it> (permalink) |
| References | <rSqAF-51z-3@gated-at.bofh.it> <rSqAF-51z-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Am Donnerstag, den 07.07.2016, 16:03 -0700 schrieb Steve Longerbeam:
> From: Suresh Dhandapani <Suresh.Dhandapani@in.bosch.com>
>
> This patch will change the register IPU_CSI0_CCIR_CODE_2 value from
> 0x40596 to 0x405A6. The change is related to the Start of field 1
> first blanking line command bit[5-3] for NTSC format only. This
> change is dependent with ADV chip where the NEWAVMODE is set to 0
> in register 0x31. Setting NEWAVMODE to "0" in ADV means "EAV/SAV
> codes generated to suit analog devices encoders".
>
> Signed-off-by: Suresh Dhandapani <Suresh.Dhandapani@in.bosch.com>
> ---
> drivers/gpu/ipu-v3/ipu-csi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/ipu-v3/ipu-csi.c b/drivers/gpu/ipu-v3/ipu-csi.c
> index 0eac28c..ec81958 100644
> --- a/drivers/gpu/ipu-v3/ipu-csi.c
> +++ b/drivers/gpu/ipu-v3/ipu-csi.c
> @@ -422,7 +422,7 @@ int ipu_csi_init_interface(struct ipu_csi *csi,
>
> ipu_csi_write(csi, 0xD07DF | CSI_CCIR_ERR_DET_EN,
> CSI_CCIR_CODE_1);
> - ipu_csi_write(csi, 0x40596, CSI_CCIR_CODE_2);
> + ipu_csi_write(csi, 0x405A6, CSI_CCIR_CODE_2);
> ipu_csi_write(csi, 0xFF0000, CSI_CCIR_CODE_3);
> } else {
> dev_err(csi->ipu->dev,
This looks like a very hardware specific hack? I'll at least have to
test if that also works with other analog decoders.
regards
Philipp
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 12/16] gpu: ipu-v3: Fix CSI0 blur in NTSC format Steve Longerbeam <slongerbeam@gmail.com> - 2016-07-08 01:10 +0200
Re: [PATCH 12/16] gpu: ipu-v3: Fix CSI0 blur in NTSC format Philipp Zabel <p.zabel@pengutronix.de> - 2016-07-08 19:40 +0200
Re: [PATCH 12/16] gpu: ipu-v3: Fix CSI0 blur in NTSC format Steve Longerbeam <steve_longerbeam@mentor.com> - 2016-07-10 18:40 +0200
Re: [PATCH 12/16] gpu: ipu-v3: Fix CSI0 blur in NTSC format Steve Longerbeam <steve_longerbeam@mentor.com> - 2016-07-14 01:10 +0200
Re: [PATCH 12/16] gpu: ipu-v3: Fix CSI0 blur in NTSC format Philipp Zabel <p.zabel@pengutronix.de> - 2016-07-15 15:00 +0200
Re: [PATCH 12/16] gpu: ipu-v3: Fix CSI0 blur in NTSC format Steve Longerbeam <steve_longerbeam@mentor.com> - 2016-07-16 01:10 +0200
Re: [PATCH 12/16] gpu: ipu-v3: Fix CSI0 blur in NTSC format Steve Longerbeam <steve_longerbeam@mentor.com> - 2016-07-16 22:30 +0200
Re: [PATCH 12/16] gpu: ipu-v3: Fix CSI0 blur in NTSC format Philipp Zabel <p.zabel@pengutronix.de> - 2016-07-19 15:40 +0200
Re: [PATCH 12/16] gpu: ipu-v3: Fix CSI0 blur in NTSC format Steve Longerbeam <steve_longerbeam@mentor.com> - 2016-07-20 02:10 +0200
csiph-web