[PATCH 2/8] drm/amdgpu: add new member in amdgpu_mc for zfb support

Christian König ckoenig.leichtzumerken at gmail.com
Thu Mar 15 08:10:18 UTC 2018


Am 15.03.2018 um 07:11 schrieb Feifei Xu:
> Change-Id: I8253c8ff80e0cbd1f12e5ee801600e7619e6718f
> Signed-off-by: Hawking Zhang <Hawking.Zhang at amd.com>
> Signed-off-by: Feifei Xu <Feifei.Xu at amd.com>
> Acked-by: John Bridgman <john.bridgman at amd.com>
> Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
> index 893c249..8f35f7e 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
> @@ -107,6 +107,9 @@ struct amdgpu_gmc {
>   	bool			translate_further;
>   
>   	const struct amdgpu_gmc_funcs	*gmc_funcs;
> +    /* zero frame buffer */
> +    u64 zfb_phys_addr;
> +    u64 zfb_size;

Please use tabs instead of spaces for indentation.

Christian.

>   };
>   
>   #endif



More information about the amd-gfx mailing list