From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: "J.D. Schroeder" <Linux.HWI@garmin.com>,
linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org,
linux-fbdev@vger.kernel.org, misael.lopez@ti.com
Cc: "Lodes, Jim" <jim.lodes@garmin.com>,
"J.D. Schroeder" <jay.schroeder@garmin.com>
Subject: Re: [PATCH] OMAPDSS: HDMI5: Fix AVI infoframe
Date: Thu, 21 Apr 2016 14:43:50 +0000 [thread overview]
Message-ID: <5718E726.4020504@ti.com> (raw)
In-Reply-To: <1461246520-26734-1-git-send-email-Linux.HWI@garmin.com>
[-- Attachment #1.1: Type: text/plain, Size: 1785 bytes --]
Hi,
On 21/04/16 16:48, J.D. Schroeder wrote:
> From: "Lodes, Jim" <jim.lodes@garmin.com>
>
> The AVI infoframe R0-R3 in the 2nd data byte represents the
> Active Format Aspect Ratio. It is four bits long not two bits.
> This fixes that mask used to extract the bits before writing the
> bits to the hardware registers.
>
> Signed-off-by: Lodes, Jim <jim.lodes@garmin.com>
> Signed-off-by: J.D. Schroeder <jay.schroeder@garmin.com>
Thanks, looks good. Can you fix the email here too, and resend?
Tomi
> drivers/gpu/drm/omapdrm/dss/hdmi5_core.c | 2 +-
> drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c b/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c
> index d993f78..8ab2093 100644
> --- a/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c
> +++ b/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c
> @@ -458,7 +458,7 @@ static void hdmi_core_write_avi_infoframe(struct hdmi_core_data *core,
>
> c = (ptr[1] >> 6) & 0x3;
> m = (ptr[1] >> 4) & 0x3;
> - r = (ptr[1] >> 0) & 0x3;
> + r = (ptr[1] >> 0) & 0xf;
>
> itc = (ptr[2] >> 7) & 0x1;
> ec = (ptr[2] >> 4) & 0x7;
> diff --git a/drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c b/drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c
> index f3e4b81..bbfe7e2 100644
> --- a/drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c
> +++ b/drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c
> @@ -442,7 +442,7 @@ static void hdmi_core_write_avi_infoframe(struct hdmi_core_data *core,
>
> c = (ptr[1] >> 6) & 0x3;
> m = (ptr[1] >> 4) & 0x3;
> - r = (ptr[1] >> 0) & 0x3;
> + r = (ptr[1] >> 0) & 0xf;
>
> itc = (ptr[2] >> 7) & 0x1;
> ec = (ptr[2] >> 4) & 0x7;
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: "J.D. Schroeder" <Linux.HWI@garmin.com>,
linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org,
linux-fbdev@vger.kernel.org, misael.lopez@ti.com
Cc: "Lodes, Jim" <jim.lodes@garmin.com>,
"J.D. Schroeder" <jay.schroeder@garmin.com>
Subject: Re: [PATCH] OMAPDSS: HDMI5: Fix AVI infoframe
Date: Thu, 21 Apr 2016 17:43:50 +0300 [thread overview]
Message-ID: <5718E726.4020504@ti.com> (raw)
In-Reply-To: <1461246520-26734-1-git-send-email-Linux.HWI@garmin.com>
[-- Attachment #1.1: Type: text/plain, Size: 1785 bytes --]
Hi,
On 21/04/16 16:48, J.D. Schroeder wrote:
> From: "Lodes, Jim" <jim.lodes@garmin.com>
>
> The AVI infoframe R0-R3 in the 2nd data byte represents the
> Active Format Aspect Ratio. It is four bits long not two bits.
> This fixes that mask used to extract the bits before writing the
> bits to the hardware registers.
>
> Signed-off-by: Lodes, Jim <jim.lodes@garmin.com>
> Signed-off-by: J.D. Schroeder <jay.schroeder@garmin.com>
Thanks, looks good. Can you fix the email here too, and resend?
Tomi
> drivers/gpu/drm/omapdrm/dss/hdmi5_core.c | 2 +-
> drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c b/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c
> index d993f78..8ab2093 100644
> --- a/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c
> +++ b/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c
> @@ -458,7 +458,7 @@ static void hdmi_core_write_avi_infoframe(struct hdmi_core_data *core,
>
> c = (ptr[1] >> 6) & 0x3;
> m = (ptr[1] >> 4) & 0x3;
> - r = (ptr[1] >> 0) & 0x3;
> + r = (ptr[1] >> 0) & 0xf;
>
> itc = (ptr[2] >> 7) & 0x1;
> ec = (ptr[2] >> 4) & 0x7;
> diff --git a/drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c b/drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c
> index f3e4b81..bbfe7e2 100644
> --- a/drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c
> +++ b/drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c
> @@ -442,7 +442,7 @@ static void hdmi_core_write_avi_infoframe(struct hdmi_core_data *core,
>
> c = (ptr[1] >> 6) & 0x3;
> m = (ptr[1] >> 4) & 0x3;
> - r = (ptr[1] >> 0) & 0x3;
> + r = (ptr[1] >> 0) & 0xf;
>
> itc = (ptr[2] >> 7) & 0x1;
> ec = (ptr[2] >> 4) & 0x7;
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: "J.D. Schroeder" <Linux.HWI@garmin.com>,
<linux-kernel@vger.kernel.org>, <linux-omap@vger.kernel.org>,
<linux-fbdev@vger.kernel.org>, <misael.lopez@ti.com>
Cc: "Lodes, Jim" <jim.lodes@garmin.com>,
"J.D. Schroeder" <jay.schroeder@garmin.com>
Subject: Re: [PATCH] OMAPDSS: HDMI5: Fix AVI infoframe
Date: Thu, 21 Apr 2016 17:43:50 +0300 [thread overview]
Message-ID: <5718E726.4020504@ti.com> (raw)
In-Reply-To: <1461246520-26734-1-git-send-email-Linux.HWI@garmin.com>
[-- Attachment #1.1: Type: text/plain, Size: 1785 bytes --]
Hi,
On 21/04/16 16:48, J.D. Schroeder wrote:
> From: "Lodes, Jim" <jim.lodes@garmin.com>
>
> The AVI infoframe R0-R3 in the 2nd data byte represents the
> Active Format Aspect Ratio. It is four bits long not two bits.
> This fixes that mask used to extract the bits before writing the
> bits to the hardware registers.
>
> Signed-off-by: Lodes, Jim <jim.lodes@garmin.com>
> Signed-off-by: J.D. Schroeder <jay.schroeder@garmin.com>
Thanks, looks good. Can you fix the email here too, and resend?
Tomi
> drivers/gpu/drm/omapdrm/dss/hdmi5_core.c | 2 +-
> drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c b/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c
> index d993f78..8ab2093 100644
> --- a/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c
> +++ b/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c
> @@ -458,7 +458,7 @@ static void hdmi_core_write_avi_infoframe(struct hdmi_core_data *core,
>
> c = (ptr[1] >> 6) & 0x3;
> m = (ptr[1] >> 4) & 0x3;
> - r = (ptr[1] >> 0) & 0x3;
> + r = (ptr[1] >> 0) & 0xf;
>
> itc = (ptr[2] >> 7) & 0x1;
> ec = (ptr[2] >> 4) & 0x7;
> diff --git a/drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c b/drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c
> index f3e4b81..bbfe7e2 100644
> --- a/drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c
> +++ b/drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c
> @@ -442,7 +442,7 @@ static void hdmi_core_write_avi_infoframe(struct hdmi_core_data *core,
>
> c = (ptr[1] >> 6) & 0x3;
> m = (ptr[1] >> 4) & 0x3;
> - r = (ptr[1] >> 0) & 0x3;
> + r = (ptr[1] >> 0) & 0xf;
>
> itc = (ptr[2] >> 7) & 0x1;
> ec = (ptr[2] >> 4) & 0x7;
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2016-04-21 14:43 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-21 13:48 [PATCH] OMAPDSS: HDMI5: Fix AVI infoframe J.D. Schroeder
2016-04-21 13:48 ` J.D. Schroeder
2016-04-21 13:48 ` J.D. Schroeder
2016-04-21 14:43 ` Tomi Valkeinen [this message]
2016-04-21 14:43 ` Tomi Valkeinen
2016-04-21 14:43 ` Tomi Valkeinen
2016-04-21 15:35 ` J.D. Schroeder
2016-04-21 15:35 ` J.D. Schroeder
2016-04-21 15:35 ` J.D. Schroeder
2016-04-21 17:49 ` [PATCH v2] " J.D. Schroeder
2016-04-21 17:49 ` J.D. Schroeder
2016-04-21 17:49 ` J.D. Schroeder
2016-04-27 5:55 ` Tomi Valkeinen
2016-04-27 5:55 ` Tomi Valkeinen
2016-04-27 5:55 ` Tomi Valkeinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5718E726.4020504@ti.com \
--to=tomi.valkeinen@ti.com \
--cc=Linux.HWI@garmin.com \
--cc=jay.schroeder@garmin.com \
--cc=jim.lodes@garmin.com \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=misael.lopez@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.