All of lore.kernel.org
 help / color / mirror / Atom feed
From: 김승우 <sw0312.kim@samsung.com>
To: rahul.sharma@samsung.com
Cc: airlied@redhat.com, kgene.kim@samsung.com,
	dri-devel@lists.freedesktop.org, marcheu@chromium.org
Subject: Re: [PATCH 2/2] drm: exynos: compose and send avi and aui info frames
Date: Wed, 21 Nov 2012 17:42:52 +0900	[thread overview]
Message-ID: <50AC940C.2090707@samsung.com> (raw)
In-Reply-To: <1352478066-1077-3-git-send-email-rahul.sharma@samsung.com>

Hi Rahul,

Control part seems good, and my comment is below.

On 2012년 11월 10일 01:21, Rahul Sharma wrote:
> This patch adds code for composing AVI and AUI info frames
> and send them every VSYNC.
> 
> This patch is important for hdmi certification.
> 
> Signed-off-by: Fahad Kunnathadi <fahad.k@samsung.com>
> Signed-off-by: Shirish S <s.shirish@samsung.com>
> Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
> ---
>  drivers/gpu/drm/exynos/exynos_hdmi.c |   97 +++++++++++++++++++++++++++++++++-
>  drivers/gpu/drm/exynos/exynos_hdmi.h |   23 ++++++++
>  drivers/gpu/drm/exynos/regs-hdmi.h   |   17 +++++-
>  3 files changed, 133 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c
> index 2c115f8..bb8a045 100644
> --- a/drivers/gpu/drm/exynos/exynos_hdmi.c
> +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c

<snip>

> @@ -1993,6 +2084,8 @@ static void hdmi_mode_set(void *ctx, void *mode)
>  
>  	DRM_DEBUG_KMS("[%d] %s\n", __LINE__, __func__);
>  
> +	hdata->cur_video_id = drm_match_cea_mode(mode);
> +

How do you think about using predefined cea video id in struct
hdmi_conf? drm_mode does not have cea video id, so drm_match_cea_mode()
compares only mode information. Considering this, IMHO, cea video id can
be embedded in struct hdmi_conf.

>  	conf_idx = hdmi_conf_index(hdata, mode);
>  	if (conf_idx >= 0)
>  		hdata->cur_conf = conf_idx;

<snip>

Thanks and Regards,
- Seung-Woo Kim

-- 
Seung-Woo Kim
Samsung Software R&D Center
--

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2012-11-21  8:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-09 16:21 [PATCH 0/2] drm: exynos: hdmi: sending AVI and AUI info frames Rahul Sharma
2012-11-09 16:21 ` [PATCH 1/2] drm: get cea video id code for a given display mode Rahul Sharma
2012-11-09 16:21 ` [PATCH 2/2] drm: exynos: compose and send avi and aui info frames Rahul Sharma
2012-11-21  8:42   ` 김승우 [this message]
2012-11-21 11:36     ` Rahul Sharma
2012-11-22  6:36       ` 김승우
2012-11-22 13:59         ` Rahul Sharma
2012-11-20 11:55 ` [PATCH 0/2] drm: exynos: hdmi: sending AVI and AUI " Rahul Sharma
2012-11-20 13:38   ` Kyungmin Park
2012-11-22 19:24 ` Thierry Reding
2012-11-23  6:15 ` Inki Dae
2012-11-23  8:59   ` Rahul Sharma

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=50AC940C.2090707@samsung.com \
    --to=sw0312.kim@samsung.com \
    --cc=airlied@redhat.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kgene.kim@samsung.com \
    --cc=marcheu@chromium.org \
    --cc=rahul.sharma@samsung.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.