Searched refs:saved_bo (Results 1 – 6 of 6) sorted by relevance
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_uvd.c | 334 kvfree(adev->uvd.inst[j].saved_bo); in amdgpu_uvd_sw_fini() 402 adev->uvd.inst[j].saved_bo = kvmalloc(size, GFP_KERNEL); in amdgpu_uvd_suspend() 403 if (!adev->uvd.inst[j].saved_bo) in amdgpu_uvd_suspend() 409 memset(adev->uvd.inst[j].saved_bo, 0, size); in amdgpu_uvd_suspend() 411 memcpy_fromio(adev->uvd.inst[j].saved_bo, ptr, size); in amdgpu_uvd_suspend() 438 if (adev->uvd.inst[i].saved_bo != NULL) { in amdgpu_uvd_resume() 440 memcpy_toio(ptr, adev->uvd.inst[i].saved_bo, size); in amdgpu_uvd_resume() 443 kvfree(adev->uvd.inst[i].saved_bo); in amdgpu_uvd_resume() 444 adev->uvd.inst[i].saved_bo = NULL; in amdgpu_uvd_resume()
|
D | amdgpu_vcn.c | 273 kvfree(adev->vcn.inst[j].saved_bo); in amdgpu_vcn_sw_fini() 332 adev->vcn.inst[i].saved_bo = kvmalloc(size, GFP_KERNEL); in amdgpu_vcn_suspend() 333 if (!adev->vcn.inst[i].saved_bo) in amdgpu_vcn_suspend() 337 memcpy_fromio(adev->vcn.inst[i].saved_bo, ptr, size); in amdgpu_vcn_suspend() 359 if (adev->vcn.inst[i].saved_bo != NULL) { in amdgpu_vcn_resume() 361 memcpy_toio(ptr, adev->vcn.inst[i].saved_bo, size); in amdgpu_vcn_resume() 364 kvfree(adev->vcn.inst[i].saved_bo); in amdgpu_vcn_resume() 365 adev->vcn.inst[i].saved_bo = NULL; in amdgpu_vcn_resume()
|
D | vce_v4_0.c | 449 adev->vce.saved_bo = kvmalloc(size, GFP_KERNEL); in vce_v4_0_sw_init() 450 if (!adev->vce.saved_bo) in vce_v4_0_sw_init() 507 kvfree(adev->vce.saved_bo); in vce_v4_0_sw_fini() 508 adev->vce.saved_bo = NULL; in vce_v4_0_sw_fini() 571 memcpy_fromio(adev->vce.saved_bo, ptr, size); in vce_v4_0_suspend() 620 memcpy_toio(ptr, adev->vce.saved_bo, size); in vce_v4_0_resume()
|
D | amdgpu_vce.h | 39 void *saved_bo; member
|
D | amdgpu_uvd.h | 44 void *saved_bo; member
|
D | amdgpu_vcn.h | 212 void *saved_bo; member
|