[PATCH 6/8] drm/amd/display: enable GPU VM support

Andrey Grodzovsky andrey.grodzovsky at amd.com
Thu Oct 26 18:09:30 UTC 2017


Reviewed-by: Andrey Grodzovsky<andrey.grodzovsky at amd.com>


On 2017-10-26 12:06 PM, Christian König wrote:
> From: Christian König <christian.koenig at amd.com>
>
> Just set the bit so that DC does the hardware programming.
>
> Signed-off-by: Christian König <christian.koenig at amd.com>
> ---
>   drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> index 2188f20..ed4351a 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -417,6 +417,8 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
>   
>   	init_data.dce_environment = DCE_ENV_PRODUCTION_DRV;
>   
> +	init_data.flags.gpu_vm_support = true;
> +
>   	if (amdgpu_dc_log)
>   		init_data.log_mask = DC_DEFAULT_LOG_MASK;
>   	else

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20171026/7ac049e9/attachment.html>


More information about the amd-gfx mailing list