diff mbox series

[1/8] drm/ttm: remove TTM_PAGE_FLAG_WRITE

Message ID 20201001112817.20967-1-christian.koenig@amd.com (mailing list archive)
State New, archived
Headers show
Series [1/8] drm/ttm: remove TTM_PAGE_FLAG_WRITE | expand

Commit Message

Christian König Oct. 1, 2020, 11:28 a.m. UTC
Not used any more.

Signed-off-by: Christian König <christian.koenig@amd.com>
---
 include/drm/ttm/ttm_tt.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Christian König Oct. 5, 2020, 1:29 p.m. UTC | #1
Ping? Bunch of trivial cleanups and removal of the caching placement flags.

Any comments on this?

Thanks,
Christian.

Am 01.10.20 um 13:28 schrieb Christian König:
> Not used any more.
>
> Signed-off-by: Christian König <christian.koenig@amd.com>
> ---
>   include/drm/ttm/ttm_tt.h | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/include/drm/ttm/ttm_tt.h b/include/drm/ttm/ttm_tt.h
> index 91691240a509..5d1835d44084 100644
> --- a/include/drm/ttm/ttm_tt.h
> +++ b/include/drm/ttm/ttm_tt.h
> @@ -34,7 +34,6 @@ struct ttm_resource;
>   struct ttm_buffer_object;
>   struct ttm_operation_ctx;
>   
> -#define TTM_PAGE_FLAG_WRITE           (1 << 3)
>   #define TTM_PAGE_FLAG_SWAPPED         (1 << 4)
>   #define TTM_PAGE_FLAG_ZERO_ALLOC      (1 << 6)
>   #define TTM_PAGE_FLAG_DMA32           (1 << 7)
Ruhl, Michael J Oct. 5, 2020, 2:59 p.m. UTC | #2
>-----Original Message-----
>From: dri-devel <dri-devel-bounces@lists.freedesktop.org> On Behalf Of
>Christian König
>Sent: Thursday, October 1, 2020 7:28 AM
>To: dri-devel@lists.freedesktop.org; ray.huang@amd.com;
>airlied@gmail.com; daniel@ffwll.ch
>Subject: [PATCH 1/8] drm/ttm: remove TTM_PAGE_FLAG_WRITE
>
>Not used any more.

Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>

m

>Signed-off-by: Christian König <christian.koenig@amd.com>
>---
> include/drm/ttm/ttm_tt.h | 1 -
> 1 file changed, 1 deletion(-)
>
>diff --git a/include/drm/ttm/ttm_tt.h b/include/drm/ttm/ttm_tt.h
>index 91691240a509..5d1835d44084 100644
>--- a/include/drm/ttm/ttm_tt.h
>+++ b/include/drm/ttm/ttm_tt.h
>@@ -34,7 +34,6 @@ struct ttm_resource;
> struct ttm_buffer_object;
> struct ttm_operation_ctx;
>
>-#define TTM_PAGE_FLAG_WRITE           (1 << 3)
> #define TTM_PAGE_FLAG_SWAPPED         (1 << 4)
> #define TTM_PAGE_FLAG_ZERO_ALLOC      (1 << 6)
> #define TTM_PAGE_FLAG_DMA32           (1 << 7)
>--
>2.17.1
>
>_______________________________________________
>dri-devel mailing list
>dri-devel@lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox series

Patch

diff --git a/include/drm/ttm/ttm_tt.h b/include/drm/ttm/ttm_tt.h
index 91691240a509..5d1835d44084 100644
--- a/include/drm/ttm/ttm_tt.h
+++ b/include/drm/ttm/ttm_tt.h
@@ -34,7 +34,6 @@  struct ttm_resource;
 struct ttm_buffer_object;
 struct ttm_operation_ctx;
 
-#define TTM_PAGE_FLAG_WRITE           (1 << 3)
 #define TTM_PAGE_FLAG_SWAPPED         (1 << 4)
 #define TTM_PAGE_FLAG_ZERO_ALLOC      (1 << 6)
 #define TTM_PAGE_FLAG_DMA32           (1 << 7)