Searched refs:aobj (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.15/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_display.c | 1594 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in amdgpu_display_suspend_helper() local 1595 r = amdgpu_bo_reserve(aobj, true); in amdgpu_display_suspend_helper() 1597 amdgpu_bo_unpin(aobj); in amdgpu_display_suspend_helper() 1598 amdgpu_bo_unreserve(aobj); in amdgpu_display_suspend_helper() 1631 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in amdgpu_display_resume_helper() local 1632 r = amdgpu_bo_reserve(aobj, true); in amdgpu_display_resume_helper() 1634 r = amdgpu_bo_pin(aobj, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_display_resume_helper() 1637 amdgpu_crtc->cursor_addr = amdgpu_bo_gpu_offset(aobj); in amdgpu_display_resume_helper() 1638 amdgpu_bo_unreserve(aobj); in amdgpu_display_resume_helper()
|
| D | dce_v6_0.c | 2276 struct amdgpu_bo *aobj; in dce_v6_0_crtc_cursor_set2() local 2298 aobj = gem_to_amdgpu_bo(obj); in dce_v6_0_crtc_cursor_set2() 2299 ret = amdgpu_bo_reserve(aobj, false); in dce_v6_0_crtc_cursor_set2() 2305 ret = amdgpu_bo_pin(aobj, AMDGPU_GEM_DOMAIN_VRAM); in dce_v6_0_crtc_cursor_set2() 2306 amdgpu_bo_unreserve(aobj); in dce_v6_0_crtc_cursor_set2() 2312 amdgpu_crtc->cursor_addr = amdgpu_bo_gpu_offset(aobj); in dce_v6_0_crtc_cursor_set2() 2338 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v6_0_crtc_cursor_set2() local 2339 ret = amdgpu_bo_reserve(aobj, true); in dce_v6_0_crtc_cursor_set2() 2341 amdgpu_bo_unpin(aobj); in dce_v6_0_crtc_cursor_set2() 2342 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 | amdgpu_cs.c | 740 struct amdgpu_bo *aobj = NULL; in amdgpu_cs_vm_handling() local 754 r = amdgpu_cs_find_mapping(p, va_start, &aobj, &m); in amdgpu_cs_vm_handling() 767 r = amdgpu_bo_kmap(aobj, (void **)&kptr); in amdgpu_cs_vm_handling() 777 amdgpu_bo_kunmap(aobj); in amdgpu_cs_vm_handling() 785 amdgpu_bo_kunmap(aobj); in amdgpu_cs_vm_handling()
|
| D | dce_v10_0.c | 2378 struct amdgpu_bo *aobj; in dce_v10_0_crtc_cursor_set2() local 2400 aobj = gem_to_amdgpu_bo(obj); in dce_v10_0_crtc_cursor_set2() 2401 ret = amdgpu_bo_reserve(aobj, false); in dce_v10_0_crtc_cursor_set2() 2407 ret = amdgpu_bo_pin(aobj, AMDGPU_GEM_DOMAIN_VRAM); in dce_v10_0_crtc_cursor_set2() 2408 amdgpu_bo_unreserve(aobj); in dce_v10_0_crtc_cursor_set2() 2414 amdgpu_crtc->cursor_addr = amdgpu_bo_gpu_offset(aobj); in dce_v10_0_crtc_cursor_set2() 2440 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v10_0_crtc_cursor_set2() local 2441 ret = amdgpu_bo_reserve(aobj, true); in dce_v10_0_crtc_cursor_set2() 2443 amdgpu_bo_unpin(aobj); in dce_v10_0_crtc_cursor_set2() 2444 amdgpu_bo_unreserve(aobj); in dce_v10_0_crtc_cursor_set2()
|
| D | dce_v11_0.c | 2454 struct amdgpu_bo *aobj; in dce_v11_0_crtc_cursor_set2() local 2476 aobj = gem_to_amdgpu_bo(obj); in dce_v11_0_crtc_cursor_set2() 2477 ret = amdgpu_bo_reserve(aobj, false); in dce_v11_0_crtc_cursor_set2() 2483 ret = amdgpu_bo_pin(aobj, AMDGPU_GEM_DOMAIN_VRAM); in dce_v11_0_crtc_cursor_set2() 2484 amdgpu_bo_unreserve(aobj); in dce_v11_0_crtc_cursor_set2() 2490 amdgpu_crtc->cursor_addr = amdgpu_bo_gpu_offset(aobj); in dce_v11_0_crtc_cursor_set2() 2516 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v11_0_crtc_cursor_set2() local 2517 ret = amdgpu_bo_reserve(aobj, true); in dce_v11_0_crtc_cursor_set2() 2519 amdgpu_bo_unpin(aobj); in dce_v11_0_crtc_cursor_set2() 2520 amdgpu_bo_unreserve(aobj); in dce_v11_0_crtc_cursor_set2()
|