Searched refs:sobj (Results 1 – 3 of 3) sorted by relevance
| /drivers/gpu/drm/radeon/ |
| A D | radeon_benchmark.c | 91 struct radeon_bo *sobj = NULL; in radeon_benchmark_move() local 97 r = radeon_bo_create(rdev, size, PAGE_SIZE, true, sdomain, 0, NULL, NULL, &sobj); in radeon_benchmark_move() 101 r = radeon_bo_reserve(sobj, false); in radeon_benchmark_move() 104 r = radeon_bo_pin(sobj, sdomain, &saddr); in radeon_benchmark_move() 105 radeon_bo_unreserve(sobj); in radeon_benchmark_move() 145 if (sobj) { in radeon_benchmark_move() 146 r = radeon_bo_reserve(sobj, false); in radeon_benchmark_move() 148 radeon_bo_unpin(sobj); in radeon_benchmark_move() 149 radeon_bo_unreserve(sobj); in radeon_benchmark_move() 151 radeon_bo_unref(&sobj); in radeon_benchmark_move()
|
| /drivers/iommu/iommufd/ |
| A D | selftest.c | 1160 sobj = iommufd_object_alloc(ucmd->ictx, sobj, IOMMUFD_OBJ_SELFTEST); in iommufd_test_mock_domain() 1161 if (IS_ERR(sobj)) in iommufd_test_mock_domain() 1162 return PTR_ERR(sobj); in iommufd_test_mock_domain() 1228 return sobj; in iommufd_test_get_selftest_obj() 1240 if (IS_ERR(sobj)) in iommufd_test_mock_domain_replace() 1241 return PTR_ERR(sobj); in iommufd_test_mock_domain_replace() 1927 if (IS_ERR(sobj)) in iommufd_test_pasid_check_hwpt() 1968 if (IS_ERR(sobj)) in iommufd_test_pasid_attach() 1992 if (IS_ERR(sobj)) in iommufd_test_pasid_replace() 2013 if (IS_ERR(sobj)) in iommufd_test_pasid_detach() [all …]
|
| /drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_benchmark.c | 79 struct amdgpu_bo *sobj = NULL; in amdgpu_benchmark_move() local 88 &sobj, in amdgpu_benchmark_move() 115 if (sobj) in amdgpu_benchmark_move() 116 amdgpu_bo_free_kernel(&sobj, &saddr, NULL); in amdgpu_benchmark_move()
|
Completed in 12 milliseconds