/openbmc/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() 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() 242 RADEON_GEM_DOMAIN_VRAM, in radeon_benchmark() [all …]
|
H A D | radeon_object.c | 82 if (domain & RADEON_GEM_DOMAIN_VRAM) { in radeon_ttm_placement_from_domain() 160 bo->initial_domain = domain & (RADEON_GEM_DOMAIN_VRAM | in radeon_bo_create() 293 if (domain == RADEON_GEM_DOMAIN_VRAM) in radeon_bo_pin_restricted() 303 if (bo->prime_shared_count && domain == RADEON_GEM_DOMAIN_VRAM) { in radeon_bo_pin_restricted() 325 if (domain == RADEON_GEM_DOMAIN_VRAM) in radeon_bo_pin_restricted() 750 radeon_ttm_placement_from_domain(rbo, RADEON_GEM_DOMAIN_VRAM); in radeon_bo_fault_reserve_notify()
|
H A D | radeon_gem.c | 124 if (initial_domain == RADEON_GEM_DOMAIN_VRAM) { in radeon_gem_object_create() 176 if (domain == RADEON_GEM_DOMAIN_VRAM && robj->prime_shared_count) { in radeon_gem_set_domain() 550 radeon_mem_type_to_domain(cur_placement) == RADEON_GEM_DOMAIN_VRAM) in radeon_gem_wait_idle_ioctl() 793 robj->initial_domain = args->value & (RADEON_GEM_DOMAIN_VRAM | in radeon_gem_op_ioctl() 846 RADEON_GEM_DOMAIN_VRAM, 0, in radeon_mode_dumb_create() 875 case RADEON_GEM_DOMAIN_VRAM: in radeon_debugfs_gem_info_show()
|
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_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_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_ttm.c | 115 radeon_ttm_placement_from_domain(rbo, RADEON_GEM_DOMAIN_VRAM | in radeon_evict_flags() 711 RADEON_GEM_DOMAIN_VRAM, 0, NULL, in radeon_ttm_init() 719 r = radeon_bo_pin(rdev->stolen_vga_memory, RADEON_GEM_DOMAIN_VRAM, NULL); in radeon_ttm_init()
|
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_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 | 4176 RADEON_GEM_DOMAIN_VRAM, 0, NULL, in sumo_rlc_init() 4189 r = radeon_bo_pin(rdev->rlc.save_restore_obj, RADEON_GEM_DOMAIN_VRAM, in sumo_rlc_init() 4255 RADEON_GEM_DOMAIN_VRAM, 0, NULL, in sumo_rlc_init() 4268 r = radeon_bo_pin(rdev->rlc.clear_state_obj, RADEON_GEM_DOMAIN_VRAM, in sumo_rlc_init() 4332 RADEON_GEM_DOMAIN_VRAM, 0, NULL, in sumo_rlc_init() 4347 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 | 1710 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()
|
/openbmc/linux/include/uapi/drm/ |
H A D | radeon_drm.h | 797 #define RADEON_GEM_DOMAIN_VRAM 0x4 macro
|