[PATCH 8/8] drm/amdgpu: use paging queue for VM page table updates

Huang Rui ray.huang at amd.com
Tue Oct 9 09:43:45 UTC 2018


On Mon, Oct 08, 2018 at 03:35:21PM +0200, Christian König wrote:
> Only for testing, not sure if we should keep it like this.
> 
> Signed-off-by: Christian König <christian.koenig at amd.com>

OK, I see. Page queue is for page table update. We might need more testing
for this change.

Reviewed-by: Huang Rui <ray.huang at amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
> index a362904d73f7..5fa80b231da3 100644
> --- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
> @@ -2052,7 +2052,7 @@ static void sdma_v4_0_set_vm_pte_funcs(struct amdgpu_device *adev)
>  
>  	adev->vm_manager.vm_pte_funcs = &sdma_v4_0_vm_pte_funcs;
>  	for (i = 0; i < adev->sdma.num_instances; i++) {
> -		sched = &adev->sdma.instance[i].ring.sched;
> +		sched = &adev->sdma.instance[i].page.sched;
>  		adev->vm_manager.vm_pte_rqs[i] =
>  			&sched->sched_rq[DRM_SCHED_PRIORITY_KERNEL];
>  	}
> -- 
> 2.14.1
> 
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list