All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christian König" <christian.koenig@amd.com>
To: Lang Yu <Lang.Yu@amd.com>,
	amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Cc: Alex Deucher <alexander.deucher@amd.com>, Huang Rui <ray.huang@amd.com>
Subject: Re: [PATCH 1/2] drm/ttm: cleanup and add TTM_PL_FLAG_TEMPORARY
Date: Thu, 27 May 2021 13:45:48 +0200	[thread overview]
Message-ID: <c493b47a-3518-c7eb-c7eb-db21815918d6@amd.com> (raw)
In-Reply-To: <20210527013051.4302-1-Lang.Yu@amd.com>

Am 27.05.21 um 03:30 schrieb Lang Yu:
> Make TTM_PL_FLAG_* start from zero and add
> TTM_PL_FLAG_TEMPORARY flag for temporary
> GTT allocation use.
>
> Signed-off-by: Lang Yu <Lang.Yu@amd.com>

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

> ---
>   include/drm/ttm/ttm_placement.h | 5 +++--
>   1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/include/drm/ttm/ttm_placement.h b/include/drm/ttm/ttm_placement.h
> index aa6ba4d0cf78..9f5cfc7c2d5a 100644
> --- a/include/drm/ttm/ttm_placement.h
> +++ b/include/drm/ttm/ttm_placement.h
> @@ -47,8 +47,9 @@
>    * top of the memory area, instead of the bottom.
>    */
>   
> -#define TTM_PL_FLAG_CONTIGUOUS  (1 << 19)
> -#define TTM_PL_FLAG_TOPDOWN     (1 << 22)
> +#define TTM_PL_FLAG_CONTIGUOUS  (1 << 0)
> +#define TTM_PL_FLAG_TOPDOWN     (1 << 1)
> +#define TTM_PL_FLAG_TEMPORARY   (1 << 2)
>   
>   /**
>    * struct ttm_place

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

WARNING: multiple messages have this Message-ID (diff)
From: "Christian König" <christian.koenig@amd.com>
To: Lang Yu <Lang.Yu@amd.com>,
	amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Cc: Alex Deucher <alexander.deucher@amd.com>, Huang Rui <ray.huang@amd.com>
Subject: Re: [PATCH 1/2] drm/ttm: cleanup and add TTM_PL_FLAG_TEMPORARY
Date: Thu, 27 May 2021 13:45:48 +0200	[thread overview]
Message-ID: <c493b47a-3518-c7eb-c7eb-db21815918d6@amd.com> (raw)
In-Reply-To: <20210527013051.4302-1-Lang.Yu@amd.com>

Am 27.05.21 um 03:30 schrieb Lang Yu:
> Make TTM_PL_FLAG_* start from zero and add
> TTM_PL_FLAG_TEMPORARY flag for temporary
> GTT allocation use.
>
> Signed-off-by: Lang Yu <Lang.Yu@amd.com>

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

> ---
>   include/drm/ttm/ttm_placement.h | 5 +++--
>   1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/include/drm/ttm/ttm_placement.h b/include/drm/ttm/ttm_placement.h
> index aa6ba4d0cf78..9f5cfc7c2d5a 100644
> --- a/include/drm/ttm/ttm_placement.h
> +++ b/include/drm/ttm/ttm_placement.h
> @@ -47,8 +47,9 @@
>    * top of the memory area, instead of the bottom.
>    */
>   
> -#define TTM_PL_FLAG_CONTIGUOUS  (1 << 19)
> -#define TTM_PL_FLAG_TOPDOWN     (1 << 22)
> +#define TTM_PL_FLAG_CONTIGUOUS  (1 << 0)
> +#define TTM_PL_FLAG_TOPDOWN     (1 << 1)
> +#define TTM_PL_FLAG_TEMPORARY   (1 << 2)
>   
>   /**
>    * struct ttm_place


  parent reply	other threads:[~2021-05-27 11:46 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-27  1:30 [PATCH 1/2] drm/ttm: cleanup and add TTM_PL_FLAG_TEMPORARY Lang Yu
2021-05-27  1:30 ` Lang Yu
2021-05-27  1:30 ` [PATCH 2/2] drm/amdgpu: stop bookkeeping of temporary GTT allocation Lang Yu
2021-05-27  1:30   ` Lang Yu
2021-05-27 11:51   ` Christian König
2021-05-27 11:51     ` Christian König
2021-05-28  9:47     ` Yu, Lang
2021-05-28  9:47       ` Yu, Lang
2021-05-28 12:23       ` Christian König
2021-05-28 12:23         ` Christian König
2021-05-27  7:42 ` [PATCH 1/2] drm/ttm: cleanup and add TTM_PL_FLAG_TEMPORARY Thomas Hellström (Intel)
2021-05-27 11:45 ` Christian König [this message]
2021-05-27 11:45   ` Christian König
2021-05-31  8:19 ` Yu, Lang
2021-05-31  8:19   ` Yu, Lang
2021-05-31  9:52   ` Thomas Hellström (Intel)
2021-05-31  9:52     ` Thomas Hellström (Intel)
2021-05-31 10:32     ` Christian König
2021-05-31 10:32       ` Christian König
2021-05-31 10:46       ` Thomas Hellström (Intel)
2021-05-31 10:46         ` Thomas Hellström (Intel)
2021-05-31 10:56         ` Christian König
2021-05-31 10:56           ` Christian König
2021-05-31 11:19           ` Thomas Hellström (Intel)
2021-05-31 11:19             ` Thomas Hellström (Intel)
2021-05-31 12:02             ` Christian König
2021-05-31 12:02               ` Christian König
2021-05-31 12:09               ` Thomas Hellström (Intel)
2021-05-31 12:09                 ` Thomas Hellström (Intel)

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=c493b47a-3518-c7eb-c7eb-db21815918d6@amd.com \
    --to=christian.koenig@amd.com \
    --cc=Lang.Yu@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=ray.huang@amd.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.