All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christian König" <deathsimple@vodafone.de>
To: Alex Deucher <alexdeucher@gmail.com>, dri-devel@lists.freedesktop.org
Cc: Alex Deucher <alexander.deucher@amd.com>,
	Thomas Hellstrom <thellstrom@vmware.com>,
	Hans Verkuil <hans.verkuil@cisco.com>,
	Julian Margetson <runaway@candw.ms>
Subject: Re: [PATCH] drm/ttm: use phys_addr_t for ttm_bus_placement
Date: Fri, 1 Apr 2016 19:55:50 +0200	[thread overview]
Message-ID: <56FEB626.1070402@vodafone.de> (raw)
In-Reply-To: <1459522920-5696-1-git-send-email-alexander.deucher@amd.com>

Am 01.04.2016 um 17:02 schrieb Alex Deucher:
> Fixes ttm on platforms like PPC460 where the CPU
> is in 32-bit mode, but the physical addresses are
>> 32 bits.
> Extracted from a patch by Hans.
>
> Cc: Thomas Hellstrom <thellstrom@vmware.com>
> Cc: Julian Margetson <runaway@candw.ms>
> Cc: Hans Verkuil <hans.verkuil@cisco.com>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

Reviewed-by: Christian König <christian.koenig@amd.com>

> ---
>   include/drm/ttm/ttm_bo_api.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/drm/ttm/ttm_bo_api.h b/include/drm/ttm/ttm_bo_api.h
> index afae231..055a08d 100644
> --- a/include/drm/ttm/ttm_bo_api.h
> +++ b/include/drm/ttm/ttm_bo_api.h
> @@ -92,7 +92,7 @@ struct ttm_placement {
>    */
>   struct ttm_bus_placement {
>   	void		*addr;
> -	unsigned long	base;
> +	phys_addr_t	base;
>   	unsigned long	size;
>   	unsigned long	offset;
>   	bool		is_iomem;

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

      parent reply	other threads:[~2016-04-01 17:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-01 15:02 [PATCH] drm/ttm: use phys_addr_t for ttm_bus_placement Alex Deucher
2016-04-01 16:31 ` Julian Margetson
2016-04-01 16:42   ` Thomas Hellstrom
2016-04-01 17:55 ` Christian König [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=56FEB626.1070402@vodafone.de \
    --to=deathsimple@vodafone.de \
    --cc=alexander.deucher@amd.com \
    --cc=alexdeucher@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hans.verkuil@cisco.com \
    --cc=runaway@candw.ms \
    --cc=thellstrom@vmware.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.