Searched refs:saved_bo (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_uvd.c | 385 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()
|
D | amdgpu_vcn.c | 313 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()
|
D | amdgpu_vce.h | 39 void *saved_bo; member
|
D | amdgpu_uvd.h | 44 void *saved_bo; member
|
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() 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()
|
D | amdgpu_vcn.h | 227 void *saved_bo; member
|