Home
last modified time | relevance | path

Searched refs:wb_obj (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_device.c438 if (rdev->wb.wb_obj) { in radeon_wb_fini()
439 if (!radeon_bo_reserve(rdev->wb.wb_obj, false)) { in radeon_wb_fini()
440 radeon_bo_kunmap(rdev->wb.wb_obj); in radeon_wb_fini()
441 radeon_bo_unpin(rdev->wb.wb_obj); in radeon_wb_fini()
442 radeon_bo_unreserve(rdev->wb.wb_obj); in radeon_wb_fini()
444 radeon_bo_unref(&rdev->wb.wb_obj); in radeon_wb_fini()
446 rdev->wb.wb_obj = NULL; in radeon_wb_fini()
463 if (rdev->wb.wb_obj == NULL) { in radeon_wb_init()
466 &rdev->wb.wb_obj); in radeon_wb_init()
471 r = radeon_bo_reserve(rdev->wb.wb_obj, false); in radeon_wb_init()
[all …]
Dradeon.h1163 struct radeon_bo *wb_obj; member
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c1113 if (adev->wb.wb_obj) { in amdgpu_device_wb_fini()
1114 amdgpu_bo_free_kernel(&adev->wb.wb_obj, in amdgpu_device_wb_fini()
1117 adev->wb.wb_obj = NULL; in amdgpu_device_wb_fini()
1134 if (adev->wb.wb_obj == NULL) { in amdgpu_device_wb_init()
1138 &adev->wb.wb_obj, &adev->wb.gpu_addr, in amdgpu_device_wb_init()
Damdgpu.h495 struct amdgpu_bo *wb_obj; member