/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_benchmark.c | 194 RADEON_GEM_DOMAIN_VRAM); in radeon_benchmark() 195 radeon_benchmark_move(rdev, 1024*1024, RADEON_GEM_DOMAIN_VRAM, in radeon_benchmark() 200 radeon_benchmark_move(rdev, 1024*1024, RADEON_GEM_DOMAIN_VRAM, in radeon_benchmark() 201 RADEON_GEM_DOMAIN_VRAM); in radeon_benchmark() 208 RADEON_GEM_DOMAIN_VRAM); in radeon_benchmark() 214 RADEON_GEM_DOMAIN_VRAM, in radeon_benchmark() 221 RADEON_GEM_DOMAIN_VRAM, in radeon_benchmark() 222 RADEON_GEM_DOMAIN_VRAM); in radeon_benchmark() 229 RADEON_GEM_DOMAIN_VRAM); in radeon_benchmark() 235 RADEON_GEM_DOMAIN_VRAM, in radeon_benchmark() [all …]
|
H A D | radeon_object.c | 81 if (domain & RADEON_GEM_DOMAIN_VRAM) { in radeon_ttm_placement_from_domain() 159 bo->initial_domain = domain & (RADEON_GEM_DOMAIN_VRAM | in radeon_bo_create() 289 if (domain == RADEON_GEM_DOMAIN_VRAM) in radeon_bo_pin_restricted() 299 if (bo->prime_shared_count && domain == RADEON_GEM_DOMAIN_VRAM) { in radeon_bo_pin_restricted() 321 if (domain == RADEON_GEM_DOMAIN_VRAM) in radeon_bo_pin_restricted() 746 radeon_ttm_placement_from_domain(rbo, RADEON_GEM_DOMAIN_VRAM); in radeon_bo_fault_reserve_notify()
|
H A D | radeon_gem.c | 123 if (initial_domain == RADEON_GEM_DOMAIN_VRAM) { in radeon_gem_object_create() 174 if (domain == RADEON_GEM_DOMAIN_VRAM && robj->prime_shared_count) { in radeon_gem_set_domain() 548 radeon_mem_type_to_domain(cur_placement) == RADEON_GEM_DOMAIN_VRAM) in radeon_gem_wait_idle_ioctl() 791 robj->initial_domain = args->value & (RADEON_GEM_DOMAIN_VRAM | in radeon_gem_op_ioctl() 844 RADEON_GEM_DOMAIN_VRAM, 0, in radeon_mode_dumb_create() 873 case RADEON_GEM_DOMAIN_VRAM: in radeon_debugfs_gem_info_show()
|
H A D | radeon_vm.c | 143 list[0].preferred_domains = RADEON_GEM_DOMAIN_VRAM; in radeon_vm_get_bos() 144 list[0].allowed_domains = RADEON_GEM_DOMAIN_VRAM; in radeon_vm_get_bos() 155 list[idx].preferred_domains = RADEON_GEM_DOMAIN_VRAM; in radeon_vm_get_bos() 156 list[idx].allowed_domains = RADEON_GEM_DOMAIN_VRAM; in radeon_vm_get_bos() 553 RADEON_GEM_DOMAIN_VRAM, 0, in radeon_vm_bo_set_addr() 1205 RADEON_GEM_DOMAIN_VRAM, 0, NULL, in radeon_vm_init()
|
H A D | radeon_gart.c | 134 PAGE_SIZE, true, RADEON_GEM_DOMAIN_VRAM, in radeon_gart_table_vram_alloc() 161 RADEON_GEM_DOMAIN_VRAM, &gpu_addr); in radeon_gart_table_vram_pin()
|
H A D | radeon_fbdev.c | 82 RADEON_GEM_DOMAIN_VRAM, in radeon_fbdev_create_pinned_object() 118 ret = radeon_bo_pin_restricted(rbo, RADEON_GEM_DOMAIN_VRAM, in radeon_fbdev_create_pinned_object()
|
H A D | radeon_cs.c | 139 RADEON_GEM_DOMAIN_VRAM; in radeon_cs_parser_relocs() 142 RADEON_GEM_DOMAIN_VRAM; in radeon_cs_parser_relocs() 157 if (domain == RADEON_GEM_DOMAIN_VRAM) in radeon_cs_parser_relocs() 177 p->relocs[i].allowed_domains &= ~RADEON_GEM_DOMAIN_VRAM; in radeon_cs_parser_relocs()
|
H A D | radeon_object.h | 44 return RADEON_GEM_DOMAIN_VRAM; in radeon_mem_type_to_domain()
|
H A D | radeon_test.c | 70 r = radeon_bo_create(rdev, size, PAGE_SIZE, true, RADEON_GEM_DOMAIN_VRAM, in radeon_do_test_moves() 79 r = radeon_bo_pin(vram_obj, RADEON_GEM_DOMAIN_VRAM, &vram_addr); in radeon_do_test_moves()
|
H A D | radeon_uvd.c | 190 RADEON_GEM_DOMAIN_VRAM, 0, NULL, in radeon_uvd_init() 204 r = radeon_bo_pin(rdev->uvd.vcpu_bo, RADEON_GEM_DOMAIN_VRAM, in radeon_uvd_init() 315 if (allowed_domains == RADEON_GEM_DOMAIN_VRAM) in radeon_uvd_force_into_uvd_segment()
|
H A D | radeon_ttm.c | 114 radeon_ttm_placement_from_domain(rbo, RADEON_GEM_DOMAIN_VRAM | in radeon_evict_flags() 704 RADEON_GEM_DOMAIN_VRAM, 0, NULL, in radeon_ttm_init() 712 r = radeon_bo_pin(rdev->stolen_vga_memory, RADEON_GEM_DOMAIN_VRAM, NULL); in radeon_ttm_init()
|
H A D | radeon_vce.c | 142 RADEON_GEM_DOMAIN_VRAM, 0, NULL, NULL, in radeon_vce_init() 156 r = radeon_bo_pin(rdev->vce.vcpu_bo, RADEON_GEM_DOMAIN_VRAM, in radeon_vce_init()
|
H A D | radeon_cursor.c | 316 ret = radeon_bo_pin_restricted(robj, RADEON_GEM_DOMAIN_VRAM, in radeon_crtc_cursor_set2()
|
H A D | evergreen.c | 4173 RADEON_GEM_DOMAIN_VRAM, 0, NULL, in sumo_rlc_init() 4186 r = radeon_bo_pin(rdev->rlc.save_restore_obj, RADEON_GEM_DOMAIN_VRAM, in sumo_rlc_init() 4252 RADEON_GEM_DOMAIN_VRAM, 0, NULL, in sumo_rlc_init() 4265 r = radeon_bo_pin(rdev->rlc.clear_state_obj, RADEON_GEM_DOMAIN_VRAM, in sumo_rlc_init() 4329 RADEON_GEM_DOMAIN_VRAM, 0, NULL, in sumo_rlc_init() 4344 r = radeon_bo_pin(rdev->rlc.cp_table_obj, RADEON_GEM_DOMAIN_VRAM, in sumo_rlc_init()
|
H A D | radeon_legacy_crtc.c | 431 r = radeon_bo_pin_restricted(rbo, RADEON_GEM_DOMAIN_VRAM, 1 << 27, in radeon_crtc_do_set_base()
|
H A D | atombios_crtc.c | 1175 r = radeon_bo_pin(rbo, RADEON_GEM_DOMAIN_VRAM, &fb_location); in dce4_crtc_do_set_base() 1495 r = radeon_bo_pin(rbo, RADEON_GEM_DOMAIN_VRAM, &fb_location); in avivo_crtc_do_set_base()
|
H A D | radeon_device.c | 1707 RADEON_GEM_DOMAIN_VRAM, in radeon_resume_kms()
|
H A D | radeon_display.c | 528 r = radeon_bo_pin_restricted(new_rbo, RADEON_GEM_DOMAIN_VRAM, in radeon_crtc_page_flip_target()
|
H A D | r600.c | 1513 PAGE_SIZE, true, RADEON_GEM_DOMAIN_VRAM, in r600_vram_scratch_init() 1524 RADEON_GEM_DOMAIN_VRAM, &rdev->vram_scratch.gpu_addr); in r600_vram_scratch_init()
|
/linux/include/uapi/drm/ |
H A D | radeon_drm.h | 797 #define RADEON_GEM_DOMAIN_VRAM 0x4 macro
|