Searched refs:saved_bo (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_uvd.c | 380 kvfree(adev->uvd.inst[j].saved_bo); in amdgpu_uvd_sw_fini() 449 adev->uvd.inst[j].saved_bo = kvmalloc(size, GFP_KERNEL); in amdgpu_uvd_prepare_suspend() 450 if (!adev->uvd.inst[j].saved_bo) in amdgpu_uvd_prepare_suspend() 456 memset(adev->uvd.inst[j].saved_bo, 0, size); in amdgpu_uvd_prepare_suspend() 458 memcpy_fromio(adev->uvd.inst[j].saved_bo, ptr, size); in amdgpu_uvd_prepare_suspend() 490 if (adev->uvd.inst[i].saved_bo != NULL) { in amdgpu_uvd_resume() 492 memcpy_toio(ptr, adev->uvd.inst[i].saved_bo, size); in amdgpu_uvd_resume() 495 kvfree(adev->uvd.inst[i].saved_bo); in amdgpu_uvd_resume() 496 adev->uvd.inst[i].saved_bo = NULL; in amdgpu_uvd_resume()
|
H A D | amdgpu_vcn.c | 262 kvfree(adev->vcn.inst[j].saved_bo); in amdgpu_vcn_sw_fini() 321 adev->vcn.inst[i].saved_bo = kvmalloc(size, GFP_KERNEL); in amdgpu_vcn_suspend() 322 if (!adev->vcn.inst[i].saved_bo) in amdgpu_vcn_suspend() 326 memcpy_fromio(adev->vcn.inst[i].saved_bo, ptr, size); in amdgpu_vcn_suspend() 348 if (adev->vcn.inst[i].saved_bo != NULL) { in amdgpu_vcn_resume() 350 memcpy_toio(ptr, adev->vcn.inst[i].saved_bo, size); in amdgpu_vcn_resume() 353 kvfree(adev->vcn.inst[i].saved_bo); in amdgpu_vcn_resume() 354 adev->vcn.inst[i].saved_bo = NULL; in amdgpu_vcn_resume()
|
H A D | amdgpu_vce.h | 39 void *saved_bo; member
|
H A D | amdgpu_uvd.h | 44 void *saved_bo; member
|
H A 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() 505 kvfree(adev->vce.saved_bo); in vce_v4_0_sw_fini() 506 adev->vce.saved_bo = NULL; in vce_v4_0_sw_fini() 569 memcpy_fromio(adev->vce.saved_bo, ptr, size); in vce_v4_0_suspend() 618 memcpy_toio(ptr, adev->vce.saved_bo, size); in vce_v4_0_resume()
|
H A D | amdgpu_vcn.h | 285 void *saved_bo; member
|