[Mesa-dev] [PATCH] winsys/amdgpu: remove AMDGPU_INFO_NUM_EVICTIONS

Nicolai Hähnle nhaehnle at gmail.com
Thu Mar 30 07:55:37 UTC 2017


On 29.03.2017 21:06, Samuel Pitoiset wrote:
> This is now exposed with libdrm_amdgpu 2.4.76.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c | 4 ----
>  1 file changed, 4 deletions(-)
>
> diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
> index 37e0140311..39a05d0f02 100644
> --- a/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
> +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
> @@ -59,10 +59,6 @@
>  #define     CIK__PIPE_CONFIG__ADDR_SURF_P16_32X32_8X16   16
>  #define     CIK__PIPE_CONFIG__ADDR_SURF_P16_32X32_16X16  17
>
> -#ifndef AMDGPU_INFO_NUM_EVICTIONS
> -#define AMDGPU_INFO_NUM_EVICTIONS		0x18
> -#endif
> -
>  static struct util_hash_table *dev_tab = NULL;
>  static mtx_t dev_tab_mutex = _MTX_INITIALIZER_NP;
>
>


-- 
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.


More information about the mesa-dev mailing list