Re: [PATCH 51/59] drm/ttm: drop priv pointer in memory manager

2020-08-04 Thread Ben Skeggs
On Tue, 4 Aug 2020 at 12:58, Dave Airlie  wrote:
>
> From: Dave Airlie 
>
> This isn't needed anymore by any drivers.
>
> Reviewed-by: Christian König 
> Signed-off-by: Dave Airlie 
Reviewed-by: Ben Skeggs 

> ---
>  include/drm/ttm/ttm_bo_driver.h | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h
> index 789c1eb26859..b477c1ad5c3e 100644
> --- a/include/drm/ttm/ttm_bo_driver.h
> +++ b/include/drm/ttm/ttm_bo_driver.h
> @@ -123,7 +123,6 @@ struct ttm_mem_type_manager_func {
>   * @default_caching: The default caching policy used for a buffer object
>   * placed in this memory type if the user doesn't provide one.
>   * @func: structure pointer implementing the range manager. See above
> - * @priv: Driver private closure for @func.
>   * @io_reserve_mutex: Mutex optionally protecting shared io_reserve 
> structures
>   * @use_io_reserve_lru: Use an lru list to try to unreserve io_mem_regions
>   * reserved by the TTM vm system.
> @@ -152,7 +151,6 @@ struct ttm_mem_type_manager {
> uint32_t available_caching;
> uint32_t default_caching;
> const struct ttm_mem_type_manager_func *func;
> -   void *priv;
> struct mutex io_reserve_mutex;
> bool use_io_reserve_lru;
> spinlock_t move_lock;
> --
> 2.26.2
>
> ___
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PATCH 51/59] drm/ttm: drop priv pointer in memory manager

2020-08-03 Thread Dave Airlie
From: Dave Airlie 

This isn't needed anymore by any drivers.

Reviewed-by: Christian König 
Signed-off-by: Dave Airlie 
---
 include/drm/ttm/ttm_bo_driver.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h
index 789c1eb26859..b477c1ad5c3e 100644
--- a/include/drm/ttm/ttm_bo_driver.h
+++ b/include/drm/ttm/ttm_bo_driver.h
@@ -123,7 +123,6 @@ struct ttm_mem_type_manager_func {
  * @default_caching: The default caching policy used for a buffer object
  * placed in this memory type if the user doesn't provide one.
  * @func: structure pointer implementing the range manager. See above
- * @priv: Driver private closure for @func.
  * @io_reserve_mutex: Mutex optionally protecting shared io_reserve structures
  * @use_io_reserve_lru: Use an lru list to try to unreserve io_mem_regions
  * reserved by the TTM vm system.
@@ -152,7 +151,6 @@ struct ttm_mem_type_manager {
uint32_t available_caching;
uint32_t default_caching;
const struct ttm_mem_type_manager_func *func;
-   void *priv;
struct mutex io_reserve_mutex;
bool use_io_reserve_lru;
spinlock_t move_lock;
-- 
2.26.2

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