diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c index 0a4b09709cfb..ec888fc6ead8 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c @@ -819,7 +819,7 @@ retry:  	p->bytes_moved += ctx.bytes_moved;  	if (!amdgpu_gmc_vram_full_visible(&adev->gmc) && -	    amdgpu_bo_in_cpu_visible_vram(bo)) +	    amdgpu_res_cpu_visible(adev, bo->tbo.resource))  		p->bytes_moved_vis += ctx.bytes_moved;  	if (unlikely(r == -ENOMEM) && domain != bo->allowed_domains) { | 
