Searched refs:aobj (Results 1 – 6 of 6) sorted by relevance
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_cs.c | 728 struct amdgpu_bo *aobj = NULL; in amdgpu_cs_vm_handling() local 742 r = amdgpu_cs_find_mapping(p, va_start, &aobj, &m); in amdgpu_cs_vm_handling() 755 r = amdgpu_bo_kmap(aobj, (void **)&kptr); in amdgpu_cs_vm_handling() 765 amdgpu_bo_kunmap(aobj); in amdgpu_cs_vm_handling() 773 amdgpu_bo_kunmap(aobj); in amdgpu_cs_vm_handling()
|
D | dce_v6_0.c | 2277 struct amdgpu_bo *aobj; in dce_v6_0_crtc_cursor_set2() local 2299 aobj = gem_to_amdgpu_bo(obj); in dce_v6_0_crtc_cursor_set2() 2300 ret = amdgpu_bo_reserve(aobj, false); in dce_v6_0_crtc_cursor_set2() 2306 ret = amdgpu_bo_pin(aobj, AMDGPU_GEM_DOMAIN_VRAM); in dce_v6_0_crtc_cursor_set2() 2307 amdgpu_bo_unreserve(aobj); in dce_v6_0_crtc_cursor_set2() 2313 amdgpu_crtc->cursor_addr = amdgpu_bo_gpu_offset(aobj); in dce_v6_0_crtc_cursor_set2() 2339 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v6_0_crtc_cursor_set2() local 2340 ret = amdgpu_bo_reserve(aobj, true); in dce_v6_0_crtc_cursor_set2() 2342 amdgpu_bo_unpin(aobj); in dce_v6_0_crtc_cursor_set2() 2343 amdgpu_bo_unreserve(aobj); in dce_v6_0_crtc_cursor_set2()
|
D | dce_v8_0.c | 2283 struct amdgpu_bo *aobj; in dce_v8_0_crtc_cursor_set2() local 2305 aobj = gem_to_amdgpu_bo(obj); in dce_v8_0_crtc_cursor_set2() 2306 ret = amdgpu_bo_reserve(aobj, false); in dce_v8_0_crtc_cursor_set2() 2312 ret = amdgpu_bo_pin(aobj, AMDGPU_GEM_DOMAIN_VRAM); in dce_v8_0_crtc_cursor_set2() 2313 amdgpu_bo_unreserve(aobj); in dce_v8_0_crtc_cursor_set2() 2319 amdgpu_crtc->cursor_addr = amdgpu_bo_gpu_offset(aobj); in dce_v8_0_crtc_cursor_set2() 2345 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v8_0_crtc_cursor_set2() local 2346 ret = amdgpu_bo_reserve(aobj, true); in dce_v8_0_crtc_cursor_set2() 2348 amdgpu_bo_unpin(aobj); in dce_v8_0_crtc_cursor_set2() 2349 amdgpu_bo_unreserve(aobj); in dce_v8_0_crtc_cursor_set2()
|
D | dce_v10_0.c | 2382 struct amdgpu_bo *aobj; in dce_v10_0_crtc_cursor_set2() local 2404 aobj = gem_to_amdgpu_bo(obj); in dce_v10_0_crtc_cursor_set2() 2405 ret = amdgpu_bo_reserve(aobj, false); in dce_v10_0_crtc_cursor_set2() 2411 ret = amdgpu_bo_pin(aobj, AMDGPU_GEM_DOMAIN_VRAM); in dce_v10_0_crtc_cursor_set2() 2412 amdgpu_bo_unreserve(aobj); in dce_v10_0_crtc_cursor_set2() 2418 amdgpu_crtc->cursor_addr = amdgpu_bo_gpu_offset(aobj); in dce_v10_0_crtc_cursor_set2() 2444 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v10_0_crtc_cursor_set2() local 2445 ret = amdgpu_bo_reserve(aobj, true); in dce_v10_0_crtc_cursor_set2() 2447 amdgpu_bo_unpin(aobj); in dce_v10_0_crtc_cursor_set2() 2448 amdgpu_bo_unreserve(aobj); in dce_v10_0_crtc_cursor_set2()
|
D | dce_v11_0.c | 2461 struct amdgpu_bo *aobj; in dce_v11_0_crtc_cursor_set2() local 2483 aobj = gem_to_amdgpu_bo(obj); in dce_v11_0_crtc_cursor_set2() 2484 ret = amdgpu_bo_reserve(aobj, false); in dce_v11_0_crtc_cursor_set2() 2490 ret = amdgpu_bo_pin(aobj, AMDGPU_GEM_DOMAIN_VRAM); in dce_v11_0_crtc_cursor_set2() 2491 amdgpu_bo_unreserve(aobj); in dce_v11_0_crtc_cursor_set2() 2497 amdgpu_crtc->cursor_addr = amdgpu_bo_gpu_offset(aobj); in dce_v11_0_crtc_cursor_set2() 2523 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v11_0_crtc_cursor_set2() local 2524 ret = amdgpu_bo_reserve(aobj, true); in dce_v11_0_crtc_cursor_set2() 2526 amdgpu_bo_unpin(aobj); in dce_v11_0_crtc_cursor_set2() 2527 amdgpu_bo_unreserve(aobj); in dce_v11_0_crtc_cursor_set2()
|
D | amdgpu_device.c | 3680 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in amdgpu_device_suspend() local 3681 r = amdgpu_bo_reserve(aobj, true); in amdgpu_device_suspend() 3683 amdgpu_bo_unpin(aobj); in amdgpu_device_suspend() 3684 amdgpu_bo_unreserve(aobj); in amdgpu_device_suspend() 3774 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in amdgpu_device_resume() local 3775 r = amdgpu_bo_reserve(aobj, true); in amdgpu_device_resume() 3777 r = amdgpu_bo_pin(aobj, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_device_resume() 3780 amdgpu_crtc->cursor_addr = amdgpu_bo_gpu_offset(aobj); in amdgpu_device_resume() 3781 amdgpu_bo_unreserve(aobj); in amdgpu_device_resume()
|