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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 07.02.2018 um 13:34 schrieb Feifei Xu:
> Change-Id: I43ab31a68e93ef264fb8d8dd8a3dba59e2962fad
> Signed-off-by: Hawking Zhang <Hawking.Zhang at amd.com>
> Acked-by: John Bridgman <john.bridgman at amd.com>
> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
> index f4b82ef7..fd5f767 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
> @@ -107,6 +107,11 @@ struct amdgpu_gmc {
>   	atomic_t                vm_fault_info_updated;
>   
>   	const struct amdgpu_gmc_funcs	*gmc_funcs;
> +
> +	/* zero frame buffer */
> +	bool		enable_zfb;

Please drop the enable_zfb member, setting size to zero should be enough 
to note that.

Christian.

> +	u64		zfb_phys_addr;
> +	u64		zfb_size;
>   };
>   
>   #endif



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux