All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Figa <t.figa@samsung.com>
To: Shirish S <s.shirish@samsung.com>,
	dri-devel@lists.freedesktop.org, inki.dae@samsung.com
Cc: shirish@chromium.org
Subject: Re: [PATCH] drm/exynos: set the active aspect ratio as per mode
Date: Tue, 18 Mar 2014 14:04:18 +0100	[thread overview]
Message-ID: <53284452.7000007@samsung.com> (raw)
In-Reply-To: <1394688508-5429-2-git-send-email-s.shirish@samsung.com>

Hi Shirish,

On 13.03.2014 06:28, Shirish S wrote:
> Now that the drm_display_mode also provides aspect
> ratio for all resolutions, this patch adds its usage
> to set the active aspect ratio of AVI info frame
> packets as per CEA-861-D standard's Table 9.
>
> This is also needed to abide by the 7-27
> compliance test of HDMI.
>
> Signed-off-by: Shirish S <s.shirish@samsung.com>
> ---
> V2: rebased on new branch
> V3: Incorporated review comments
>
>   drivers/gpu/drm/exynos/exynos_hdmi.c |   35 +++++++++++++++++++++++++++-------
>   1 file changed, 28 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c
> index 12fdf55..9b0b617 100644
> --- a/drivers/gpu/drm/exynos/exynos_hdmi.c
> +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
> @@ -53,12 +53,13 @@
>   /* AVI header and aspect ratio */
>   #define HDMI_AVI_VERSION		0x02
>   #define HDMI_AVI_LENGTH		0x0D
> -#define AVI_PIC_ASPECT_RATIO_16_9	(2 << 4)
> -#define AVI_SAME_AS_PIC_ASPECT_RATIO	8
>
>   /* AUI header info */
>   #define HDMI_AUI_VERSION	0x01
>   #define HDMI_AUI_LENGTH	0x0A
> +#define	AVI_SAME_AS_PIC_ASPECT_RATIO 0x8
> +#define	AVI_4_3_CENTER_RATIO	0x9
> +#define	AVI_16_9_CENTER_RATIO	0xa

One minor nitpick: Please don't use tabs between #define and macro name.

After fixing this issue feel free to add my:

Reviewed-by: Tomasz Figa <t.figa@samsung.com>

Best regards,
Tomasz

  reply	other threads:[~2014-03-18 13:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-13  5:28 [PATCH] drm/exynos: add phy settings for RB resolutions Shirish S
2014-03-13  5:28 ` [PATCH] drm/exynos: set the active aspect ratio as per mode Shirish S
2014-03-18 13:04   ` Tomasz Figa [this message]
2014-03-19  8:25     ` Inki Dae
2014-03-18 13:01 ` [PATCH] drm/exynos: add phy settings for RB resolutions Tomasz Figa
2014-03-19  8:25 ` Inki Dae
2014-03-20  7:35 ` Stéphane Marchesin
2014-04-02  4:09   ` Shirish S
2014-05-05  5:00     ` Shirish S
  -- strict thread matches above, loose matches on Subject: below --
2014-03-11  9:00 [PATCH] drm/exynos: set the active aspect ratio as per mode Shirish S
2014-03-10  3:44 Shirish S
2014-03-12 15:19 ` Tomasz Figa
2014-03-13  3:15   ` Shirish S

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=53284452.7000007@samsung.com \
    --to=t.figa@samsung.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=inki.dae@samsung.com \
    --cc=s.shirish@samsung.com \
    --cc=shirish@chromium.org \
    /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.