From: Inki Dae <inki.dae@samsung.com>
To: Rob Clark <robdclark@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 2/5] drm/exynos: use correct fb width/height
Date: Wed, 11 Mar 2015 22:35:17 +0900 [thread overview]
Message-ID: <55004495.4070002@samsung.com> (raw)
In-Reply-To: <1425676990-14341-3-git-send-email-robdclark@gmail.com>
On 2015년 03월 07일 06:23, Rob Clark wrote:
> Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by : Inki Dae <inki.dae@samsung.com>
Thanks,
Inki Dae
> ---
> drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c
> index 84f8dfe..e71e331 100644
> --- a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c
> +++ b/drivers/gpu/drm/exynos/exynos_drm_fbdev.c
> @@ -76,6 +76,7 @@ static struct fb_ops exynos_drm_fb_ops = {
> };
>
> static int exynos_drm_fbdev_update(struct drm_fb_helper *helper,
> + struct drm_fb_helper_surface_size *sizes,
> struct drm_framebuffer *fb)
> {
> struct fb_info *fbi = helper->fbdev;
> @@ -85,7 +86,7 @@ static int exynos_drm_fbdev_update(struct drm_fb_helper *helper,
> unsigned long offset;
>
> drm_fb_helper_fill_fix(fbi, fb->pitches[0], fb->depth);
> - drm_fb_helper_fill_var(fbi, helper, fb->width, fb->height);
> + drm_fb_helper_fill_var(fbi, helper, sizes->fb_width, sizes->fb_height);
>
> /* RGB formats use only one buffer */
> buffer = exynos_drm_fb_buffer(fb, 0);
> @@ -189,7 +190,7 @@ static int exynos_drm_fbdev_create(struct drm_fb_helper *helper,
> goto err_destroy_framebuffer;
> }
>
> - ret = exynos_drm_fbdev_update(helper, helper->fb);
> + ret = exynos_drm_fbdev_update(helper, sizes, helper->fb);
> if (ret < 0)
> goto err_dealloc_cmap;
>
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2015-03-11 13:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-06 21:23 [PATCH 0/5] drm/fb: handle tile connectors Rob Clark
2015-03-06 21:23 ` [PATCH 1/5] drm/cma: use correct fb width/height Rob Clark
2015-03-07 17:56 ` Laurent Pinchart
2015-03-07 18:35 ` Rob Clark
2015-03-06 21:23 ` [PATCH 2/5] drm/exynos: " Rob Clark
2015-03-11 13:35 ` Inki Dae [this message]
2015-03-06 21:23 ` [PATCH 3/5] drm/rockchip: " Rob Clark
2015-03-06 21:23 ` [PATCH 4/5] drm/fb: small cleanup Rob Clark
2015-03-07 6:21 ` Daniel Kurtz
2015-03-06 21:23 ` [PATCH 5/5] drm/fb: handle tiled connectors better Rob Clark
2015-03-07 13:48 ` Rob Clark
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=55004495.4070002@samsung.com \
--to=inki.dae@samsung.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=robdclark@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox