From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: Fabian Frederick <fabf@skynet.be>, <linux-kernel@vger.kernel.org>
Cc: David Airlie <airlied@linux.ie>, <dri-devel@lists.freedesktop.org>
Subject: Re: [PATCH 1/1] drm/omap: replace ALIGN(PAGE_SIZE) by PAGE_ALIGN
Date: Tue, 26 Aug 2014 15:31:37 +0300 [thread overview]
Message-ID: <53FC7E29.3020603@ti.com> (raw)
In-Reply-To: <1404240770-14938-1-git-send-email-fabf@skynet.be>
[-- Attachment #1: Type: text/plain, Size: 1033 bytes --]
On 01/07/14 21:52, Fabian Frederick wrote:
> use mm.h definition
>
> Cc: David Airlie <airlied@linux.ie>
> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
> Cc: dri-devel@lists.freedesktop.org
> Signed-off-by: Fabian Frederick <fabf@skynet.be>
> ---
> drivers/gpu/drm/omapdrm/omap_fbdev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/omapdrm/omap_fbdev.c b/drivers/gpu/drm/omapdrm/omap_fbdev.c
> index 1388ca7..8068612 100644
> --- a/drivers/gpu/drm/omapdrm/omap_fbdev.c
> +++ b/drivers/gpu/drm/omapdrm/omap_fbdev.c
> @@ -169,7 +169,7 @@ static int omap_fbdev_create(struct drm_fb_helper *helper,
> fbdev->ywrap_enabled = priv->has_dmm && ywrap_enabled;
> if (fbdev->ywrap_enabled) {
> /* need to align pitch to page size if using DMM scrolling */
> - mode_cmd.pitches[0] = ALIGN(mode_cmd.pitches[0], PAGE_SIZE);
> + mode_cmd.pitches[0] = PAGE_ALIGN(mode_cmd.pitches[0]);
> }
>
> /* allocate backing bo */
>
Thanks, queued for v3.18.
Tomi
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2014-08-26 12:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-01 18:52 [PATCH 1/1] drm/omap: replace ALIGN(PAGE_SIZE) by PAGE_ALIGN Fabian Frederick
2014-08-26 12:31 ` Tomi Valkeinen [this message]
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=53FC7E29.3020603@ti.com \
--to=tomi.valkeinen@ti.com \
--cc=airlied@linux.ie \
--cc=dri-devel@lists.freedesktop.org \
--cc=fabf@skynet.be \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox