Searched refs:aobj (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_display.c | 1664 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in amdgpu_display_suspend_helper() local 1666 r = amdgpu_bo_reserve(aobj, true); in amdgpu_display_suspend_helper() 1668 amdgpu_bo_unpin(aobj); in amdgpu_display_suspend_helper() 1669 amdgpu_bo_unreserve(aobj); in amdgpu_display_suspend_helper() 1701 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in amdgpu_display_resume_helper() local 1703 r = amdgpu_bo_reserve(aobj, true); in amdgpu_display_resume_helper() 1705 r = amdgpu_bo_pin(aobj, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_display_resume_helper() 1708 amdgpu_crtc->cursor_addr = amdgpu_bo_gpu_offset(aobj); in amdgpu_display_resume_helper() 1709 amdgpu_bo_unreserve(aobj); in amdgpu_display_resume_helper()
|
D | dce_v6_0.c | 2278 struct amdgpu_bo *aobj; in dce_v6_0_crtc_cursor_set2() local 2300 aobj = gem_to_amdgpu_bo(obj); in dce_v6_0_crtc_cursor_set2() 2301 ret = amdgpu_bo_reserve(aobj, false); in dce_v6_0_crtc_cursor_set2() 2307 ret = amdgpu_bo_pin(aobj, AMDGPU_GEM_DOMAIN_VRAM); in dce_v6_0_crtc_cursor_set2() 2308 amdgpu_bo_unreserve(aobj); in dce_v6_0_crtc_cursor_set2() 2314 amdgpu_crtc->cursor_addr = amdgpu_bo_gpu_offset(aobj); in dce_v6_0_crtc_cursor_set2() 2340 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v6_0_crtc_cursor_set2() local 2341 ret = amdgpu_bo_reserve(aobj, true); in dce_v6_0_crtc_cursor_set2() 2343 amdgpu_bo_unpin(aobj); in dce_v6_0_crtc_cursor_set2() 2344 amdgpu_bo_unreserve(aobj); in dce_v6_0_crtc_cursor_set2()
|
D | dce_v8_0.c | 2277 struct amdgpu_bo *aobj; in dce_v8_0_crtc_cursor_set2() local 2299 aobj = gem_to_amdgpu_bo(obj); in dce_v8_0_crtc_cursor_set2() 2300 ret = amdgpu_bo_reserve(aobj, false); in dce_v8_0_crtc_cursor_set2() 2306 ret = amdgpu_bo_pin(aobj, AMDGPU_GEM_DOMAIN_VRAM); in dce_v8_0_crtc_cursor_set2() 2307 amdgpu_bo_unreserve(aobj); in dce_v8_0_crtc_cursor_set2() 2313 amdgpu_crtc->cursor_addr = amdgpu_bo_gpu_offset(aobj); in dce_v8_0_crtc_cursor_set2() 2339 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v8_0_crtc_cursor_set2() local 2340 ret = amdgpu_bo_reserve(aobj, true); in dce_v8_0_crtc_cursor_set2() 2342 amdgpu_bo_unpin(aobj); in dce_v8_0_crtc_cursor_set2() 2343 amdgpu_bo_unreserve(aobj); in dce_v8_0_crtc_cursor_set2()
|
D | amdgpu_cs.c | 1029 struct amdgpu_bo *aobj; in amdgpu_cs_patch_ibs() local 1034 r = amdgpu_cs_find_mapping(p, va_start, &aobj, &m); in amdgpu_cs_patch_ibs() 1047 r = amdgpu_bo_kmap(aobj, (void **)&kptr); in amdgpu_cs_patch_ibs() 1055 amdgpu_bo_kunmap(aobj); in amdgpu_cs_patch_ibs() 1063 amdgpu_bo_kunmap(aobj); in amdgpu_cs_patch_ibs()
|
D | dce_v10_0.c | 2372 struct amdgpu_bo *aobj; in dce_v10_0_crtc_cursor_set2() local 2394 aobj = gem_to_amdgpu_bo(obj); in dce_v10_0_crtc_cursor_set2() 2395 ret = amdgpu_bo_reserve(aobj, false); in dce_v10_0_crtc_cursor_set2() 2401 ret = amdgpu_bo_pin(aobj, AMDGPU_GEM_DOMAIN_VRAM); in dce_v10_0_crtc_cursor_set2() 2402 amdgpu_bo_unreserve(aobj); in dce_v10_0_crtc_cursor_set2() 2408 amdgpu_crtc->cursor_addr = amdgpu_bo_gpu_offset(aobj); in dce_v10_0_crtc_cursor_set2() 2434 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v10_0_crtc_cursor_set2() local 2435 ret = amdgpu_bo_reserve(aobj, true); in dce_v10_0_crtc_cursor_set2() 2437 amdgpu_bo_unpin(aobj); in dce_v10_0_crtc_cursor_set2() 2438 amdgpu_bo_unreserve(aobj); in dce_v10_0_crtc_cursor_set2()
|
D | dce_v11_0.c | 2456 struct amdgpu_bo *aobj; in dce_v11_0_crtc_cursor_set2() local 2478 aobj = gem_to_amdgpu_bo(obj); in dce_v11_0_crtc_cursor_set2() 2479 ret = amdgpu_bo_reserve(aobj, false); in dce_v11_0_crtc_cursor_set2() 2485 ret = amdgpu_bo_pin(aobj, AMDGPU_GEM_DOMAIN_VRAM); in dce_v11_0_crtc_cursor_set2() 2486 amdgpu_bo_unreserve(aobj); in dce_v11_0_crtc_cursor_set2() 2492 amdgpu_crtc->cursor_addr = amdgpu_bo_gpu_offset(aobj); in dce_v11_0_crtc_cursor_set2() 2518 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v11_0_crtc_cursor_set2() local 2519 ret = amdgpu_bo_reserve(aobj, true); in dce_v11_0_crtc_cursor_set2() 2521 amdgpu_bo_unpin(aobj); in dce_v11_0_crtc_cursor_set2() 2522 amdgpu_bo_unreserve(aobj); in dce_v11_0_crtc_cursor_set2()
|