Home
last modified time | relevance | path

Searched refs:saved_bo (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_uvd.c385 kvfree(adev->uvd.inst[j].saved_bo); in amdgpu_uvd_sw_fini()
454 adev->uvd.inst[j].saved_bo = kvmalloc(size, GFP_KERNEL); in amdgpu_uvd_suspend()
455 if (!adev->uvd.inst[j].saved_bo) in amdgpu_uvd_suspend()
461 memset(adev->uvd.inst[j].saved_bo, 0, size); in amdgpu_uvd_suspend()
463 memcpy_fromio(adev->uvd.inst[j].saved_bo, ptr, size); in amdgpu_uvd_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()
Damdgpu_vcn.c313 kvfree(adev->vcn.inst[j].saved_bo); in amdgpu_vcn_sw_fini()
365 adev->vcn.inst[i].saved_bo = kvmalloc(size, GFP_KERNEL); in amdgpu_vcn_suspend()
366 if (!adev->vcn.inst[i].saved_bo) in amdgpu_vcn_suspend()
370 memcpy_fromio(adev->vcn.inst[i].saved_bo, ptr, size); in amdgpu_vcn_suspend()
392 if (adev->vcn.inst[i].saved_bo != NULL) { in amdgpu_vcn_resume()
394 memcpy_toio(ptr, adev->vcn.inst[i].saved_bo, size); in amdgpu_vcn_resume()
397 kvfree(adev->vcn.inst[i].saved_bo); in amdgpu_vcn_resume()
398 adev->vcn.inst[i].saved_bo = NULL; in amdgpu_vcn_resume()
Damdgpu_vce.h39 void *saved_bo; member
Damdgpu_uvd.h44 void *saved_bo; member
Dvce_v4_0.c449 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()
509 kvfree(adev->vce.saved_bo); in vce_v4_0_sw_fini()
510 adev->vce.saved_bo = NULL; in vce_v4_0_sw_fini()
573 memcpy_fromio(adev->vce.saved_bo, ptr, size); in vce_v4_0_suspend()
622 memcpy_toio(ptr, adev->vce.saved_bo, size); in vce_v4_0_resume()
Damdgpu_vcn.h227 void *saved_bo; member