[PATCH] drm/amdgpu: add cu info wave_front_size

Deucher, Alexander Alexander.Deucher at amd.com
Fri Apr 28 15:16:55 UTC 2017


> -----Original Message-----
> From: Junwei Zhang [mailto:Jerry.Zhang at amd.com]
> Sent: Thursday, April 27, 2017 11:11 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Deucher, Alexander; Wang, Ken; Zhang, Jerry
> Subject: [PATCH] drm/amdgpu: add cu info wave_front_size
> 
> missed that for gfx v9 info export
> 
> Signed-off-by: Junwei Zhang <Jerry.Zhang at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> index 503010a..e330009 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
> @@ -986,6 +986,7 @@ struct amdgpu_gfx_config {
>  struct amdgpu_cu_info {
>  	uint32_t number; /* total active CU number */
>  	uint32_t ao_cu_mask;
> +	uint32_t wave_front_size;
>  	uint32_t bitmap[4][4];
>  };
> 
> --
> 1.9.1



More information about the amd-gfx mailing list