Home
last modified time | relevance | path

Searched refs:aobj (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_display.c1722 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in amdgpu_display_suspend_helper() local
1724 r = amdgpu_bo_reserve(aobj, true); in amdgpu_display_suspend_helper()
1726 amdgpu_bo_unpin(aobj); in amdgpu_display_suspend_helper()
1727 amdgpu_bo_unreserve(aobj); in amdgpu_display_suspend_helper()
1759 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in amdgpu_display_resume_helper() local
1761 r = amdgpu_bo_reserve(aobj, true); in amdgpu_display_resume_helper()
1763 aobj->flags |= AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS; in amdgpu_display_resume_helper()
1764 r = amdgpu_bo_pin(aobj, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_display_resume_helper()
1767 amdgpu_crtc->cursor_addr = amdgpu_bo_gpu_offset(aobj); in amdgpu_display_resume_helper()
1768 amdgpu_bo_unreserve(aobj); in amdgpu_display_resume_helper()
Damdgpu_gem.c88 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(gobj); in amdgpu_gem_object_free() local
90 if (aobj) { in amdgpu_gem_object_free()
91 amdgpu_hmm_unregister(aobj); in amdgpu_gem_object_free()
92 ttm_bo_put(&aobj->tbo); in amdgpu_gem_object_free()
Ddce_v6_0.c2296 struct amdgpu_bo *aobj; in dce_v6_0_crtc_cursor_set2() local
2318 aobj = gem_to_amdgpu_bo(obj); in dce_v6_0_crtc_cursor_set2()
2319 ret = amdgpu_bo_reserve(aobj, false); in dce_v6_0_crtc_cursor_set2()
2325 aobj->flags |= AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS; in dce_v6_0_crtc_cursor_set2()
2326 ret = amdgpu_bo_pin(aobj, AMDGPU_GEM_DOMAIN_VRAM); in dce_v6_0_crtc_cursor_set2()
2327 amdgpu_bo_unreserve(aobj); in dce_v6_0_crtc_cursor_set2()
2333 amdgpu_crtc->cursor_addr = amdgpu_bo_gpu_offset(aobj); in dce_v6_0_crtc_cursor_set2()
2359 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v6_0_crtc_cursor_set2() local
2360 ret = amdgpu_bo_reserve(aobj, true); in dce_v6_0_crtc_cursor_set2()
2362 amdgpu_bo_unpin(aobj); in dce_v6_0_crtc_cursor_set2()
[all …]
Ddce_v8_0.c2295 struct amdgpu_bo *aobj; in dce_v8_0_crtc_cursor_set2() local
2317 aobj = gem_to_amdgpu_bo(obj); in dce_v8_0_crtc_cursor_set2()
2318 ret = amdgpu_bo_reserve(aobj, false); in dce_v8_0_crtc_cursor_set2()
2324 aobj->flags |= AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS; in dce_v8_0_crtc_cursor_set2()
2325 ret = amdgpu_bo_pin(aobj, AMDGPU_GEM_DOMAIN_VRAM); in dce_v8_0_crtc_cursor_set2()
2326 amdgpu_bo_unreserve(aobj); in dce_v8_0_crtc_cursor_set2()
2332 amdgpu_crtc->cursor_addr = amdgpu_bo_gpu_offset(aobj); in dce_v8_0_crtc_cursor_set2()
2358 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v8_0_crtc_cursor_set2() local
2359 ret = amdgpu_bo_reserve(aobj, true); in dce_v8_0_crtc_cursor_set2()
2361 amdgpu_bo_unpin(aobj); in dce_v8_0_crtc_cursor_set2()
[all …]
Ddce_v10_0.c2376 struct amdgpu_bo *aobj; in dce_v10_0_crtc_cursor_set2() local
2398 aobj = gem_to_amdgpu_bo(obj); in dce_v10_0_crtc_cursor_set2()
2399 ret = amdgpu_bo_reserve(aobj, false); in dce_v10_0_crtc_cursor_set2()
2405 aobj->flags |= AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS; in dce_v10_0_crtc_cursor_set2()
2406 ret = amdgpu_bo_pin(aobj, AMDGPU_GEM_DOMAIN_VRAM); in dce_v10_0_crtc_cursor_set2()
2407 amdgpu_bo_unreserve(aobj); in dce_v10_0_crtc_cursor_set2()
2413 amdgpu_crtc->cursor_addr = amdgpu_bo_gpu_offset(aobj); in dce_v10_0_crtc_cursor_set2()
2439 struct amdgpu_bo *aobj = gem_to_amdgpu_bo(amdgpu_crtc->cursor_bo); in dce_v10_0_crtc_cursor_set2() local
2440 ret = amdgpu_bo_reserve(aobj, true); in dce_v10_0_crtc_cursor_set2()
2442 amdgpu_bo_unpin(aobj); in dce_v10_0_crtc_cursor_set2()
[all …]
Damdgpu_cs.c1034 struct amdgpu_bo *aobj; in amdgpu_cs_patch_ibs() local
1039 r = amdgpu_cs_find_mapping(p, va_start, &aobj, &m); in amdgpu_cs_patch_ibs()
1052 r = amdgpu_bo_kmap(aobj, (void **)&kptr); in amdgpu_cs_patch_ibs()
1060 amdgpu_bo_kunmap(aobj); in amdgpu_cs_patch_ibs()
1071 amdgpu_bo_kunmap(aobj); in amdgpu_cs_patch_ibs()
Ddce_v11_0.c2460 struct amdgpu_bo *aobj; in dce_v11_0_crtc_cursor_set2() local
2482 aobj = gem_to_amdgpu_bo(obj); in dce_v11_0_crtc_cursor_set2()
2483 ret = amdgpu_bo_reserve(aobj, false); in dce_v11_0_crtc_cursor_set2()
2489 aobj->flags |= AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS; 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()
[all …]