Linux Samsung SOC development
 help / color / mirror / Atom feed
From: Inki Dae <inki.dae@samsung.com>
To: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>,
	linux-samsung-soc@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org, m.szyprowski@samsung.com
Subject: Re: [PATCH v2 1/9] drm/exynos: mixer: fix chroma comment in vp_video_buffer()
Date: Fri, 25 Aug 2017 12:03:38 +0900	[thread overview]
Message-ID: <599F938A.6080608@samsung.com> (raw)
In-Reply-To: <20170822141944.8138-2-tjakobi@math.uni-bielefeld.de>



2017년 08월 22일 23:19에 Tobias Jakobi 이(가) 쓴 글:
> The current comment sounds like the division op is done to
> compensate for some hardware erratum. But the chroma plane
> having half the height of the luma plane is just the way
> NV12/NV21 is defined, so clarify this behaviour.
> 
> Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
> ---
>  drivers/gpu/drm/exynos/exynos_mixer.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c
> index a998a8dd783c..c6d6f6d42900 100644
> --- a/drivers/gpu/drm/exynos/exynos_mixer.c
> +++ b/drivers/gpu/drm/exynos/exynos_mixer.c
> @@ -532,7 +532,7 @@ static void vp_video_buffer(struct mixer_context *ctx,
>  	/* setting size of input image */
>  	vp_reg_write(res, VP_IMG_SIZE_Y, VP_IMG_HSIZE(fb->pitches[0]) |
>  		VP_IMG_VSIZE(fb->height));
> -	/* chroma height has to reduced by 2 to avoid chroma distorions */
> +	/* the chroma plane for NV12/NV21 is half the height of the luma plane */

WARNING: line over 80 characters
#86: FILE: drivers/gpu/drm/exynos/exynos_mixer.c:535:
+	/* the chroma plane for NV12/NV21 is half the height of the luma plane */

I just removed a word, 'the', in front of 'chroma' word.

Thanks,
Inki Dae


>  	vp_reg_write(res, VP_IMG_SIZE_C, VP_IMG_HSIZE(fb->pitches[0]) |
>  		VP_IMG_VSIZE(fb->height / 2));
>  
> 

  reply	other threads:[~2017-08-25  3:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170822142004epcas4p4778b4a0fcf04c7ba4a0d70e995cbad73@epcas4p4.samsung.com>
2017-08-22 14:19 ` [PATCH v2 0/9] drm/exynos: misc fixes and more Tobias Jakobi
2017-08-22 14:19   ` [PATCH v2 1/9] drm/exynos: mixer: fix chroma comment in vp_video_buffer() Tobias Jakobi
2017-08-25  3:03     ` Inki Dae [this message]
2017-08-22 14:19   ` [PATCH v2 2/9] drm/exynos: mixer: enable NV12MT support for the video plane Tobias Jakobi
2017-08-22 14:19   ` [PATCH v2 3/9] drm/exynos: mixer: simplify vp_video_buffer() Tobias Jakobi
2017-08-22 14:19   ` [PATCH v2 4/9] drm/exynos: mixer: simplify mixer_graph_buffer() Tobias Jakobi
2017-08-22 14:19   ` [PATCH v2 5/9] drm/exynos: mixer: remove src offset from mixer_graph_buffer() Tobias Jakobi
2017-08-22 14:19   ` [PATCH v2 6/9] drm/exynos: introduce BYTE_PITCH capability Tobias Jakobi
2017-08-31 10:24     ` Marek Szyprowski
2017-08-31 11:31       ` Tobias Jakobi
2017-08-22 14:19   ` [PATCH v2 7/9] drm/exynos: add BYTE_PITCH cap for all supported planes Tobias Jakobi
2017-08-22 14:19   ` [PATCH v2 8/9] drm/exynos: consistent use of cpp Tobias Jakobi
2017-08-22 14:19   ` [PATCH v2 9/9] drm/exynos: simplify set_pixfmt() in DECON and FIMD drivers Tobias Jakobi
2017-08-25  6:21   ` [PATCH v2 0/9] drm/exynos: misc fixes and more Inki Dae
2017-08-25 13:16     ` Tobias Jakobi

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=599F938A.6080608@samsung.com \
    --to=inki.dae@samsung.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=tjakobi@math.uni-bielefeld.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox