Searched refs:nvbo (Results 1 – 5 of 5) sorted by relevance
/external/igt-gpu-tools/tests/ |
D | prime_nv_test.c | 88 struct nouveau_bo *nvbo; in test_i915_nv_sharing() local 95 igt_assert(nouveau_bo_prime_handle_ref(ndev, prime_fd, &nvbo) == 0); in test_i915_nv_sharing() 98 nouveau_bo_ref(NULL, &nvbo); in test_i915_nv_sharing() 114 struct nouveau_bo *nvbo; in test_nv_i915_sharing() local 117 0, BO_SIZE, NULL, &nvbo) == 0); in test_nv_i915_sharing() 118 igt_assert(nouveau_bo_set_prime(nvbo, &prime_fd) == 0); in test_nv_i915_sharing() 124 nouveau_bo_ref(NULL, &nvbo); in test_nv_i915_sharing() 136 struct nouveau_bo *nvbo = NULL; in test_nv_write_i915_cpu_mmap_read() local 143 igt_assert(nouveau_bo_prime_handle_ref(ndev, prime_fd, &nvbo) == 0); in test_nv_write_i915_cpu_mmap_read() 146 igt_assert(nouveau_bo_map(nvbo, NOUVEAU_BO_RDWR, nclient) == 0); in test_nv_write_i915_cpu_mmap_read() [all …]
|
D | prime_nv_api.c | 74 struct nouveau_bo *nvbo = NULL, *nvbo2 = NULL; in test_i915_nv_import_twice() local 80 igt_assert(nouveau_bo_prime_handle_ref(ndev, prime_fd, &nvbo) == 0); in test_i915_nv_import_twice() 85 nouveau_bo_ref(NULL, &nvbo); in test_i915_nv_import_twice() 93 struct nouveau_bo *nvbo = NULL, *nvbo2 = NULL; in test_i915_nv_import_twice_check_flink_name() local 100 igt_assert(nouveau_bo_prime_handle_ref(ndev, prime_fd, &nvbo) == 0); in test_i915_nv_import_twice_check_flink_name() 104 igt_assert(nouveau_bo_name_get(nvbo, &flink_name1) == 0); in test_i915_nv_import_twice_check_flink_name() 110 nouveau_bo_ref(NULL, &nvbo); in test_i915_nv_import_twice_check_flink_name() 118 struct nouveau_bo *nvbo = NULL, *nvbo2 = NULL; in test_i915_nv_reimport_twice_check_flink_name() local 125 igt_assert(nouveau_bo_prime_handle_ref(ndev, prime_fd, &nvbo) == 0); in test_i915_nv_reimport_twice_check_flink_name() 134 igt_assert(nouveau_bo_name_get(nvbo, &flink_name1) == 0); in test_i915_nv_reimport_twice_check_flink_name() [all …]
|
D | prime_nv_pcopy.c | 337 static void perform_copy(struct nouveau_bo *nvbo, const rect *dst, in perform_copy() argument 345 { nvbo, (nvbo->flags & NOUVEAU_BO_APER) | NOUVEAU_BO_WR }, in perform_copy() 355 if (nvbo->config.nv50.tile_mode == tile_intel_y) in perform_copy() 366 if (!nvbo->config.nv50.tile_mode) { in perform_copy() 381 PUSH_DATA (push, nvbo->config.nv50.tile_mode); in perform_copy() 392 PUSH_DATA (push, (nvbo->offset + dst_off) >> 32); in perform_copy() 393 PUSH_DATA (push, (nvbo->offset + dst_off)); in perform_copy() 457 struct nouveau_bo *nvbo = NULL, *nvbi = NULL; in test1_macro() local 463 nv_bo_alloc(&nvbo, &dst, w, h, tile_intel_y, -1, NOUVEAU_BO_GART); in test1_macro() 465 nouveau_bo_set_prime(nvbo, &prime_fd); in test1_macro() [all …]
|
/external/libdrm/nouveau/ |
D | nouveau.c | 595 struct nouveau_bo_priv *nvbo = nouveau_bo(bo); in nouveau_bo_del() local 598 if (nvbo->head.next) { in nouveau_bo_del() 600 if (atomic_read(&nvbo->refcnt) == 0) { in nouveau_bo_del() 601 DRMLISTDEL(&nvbo->head); in nouveau_bo_del() 618 free(nvbo); in nouveau_bo_del() 626 struct nouveau_bo_priv *nvbo = calloc(1, sizeof(*nvbo)); in nouveau_bo_new() local 627 struct nouveau_bo *bo = &nvbo->base; in nouveau_bo_new() 630 if (!nvbo) in nouveau_bo_new() 632 atomic_set(&nvbo->refcnt, 1); in nouveau_bo_new() 639 free(nvbo); in nouveau_bo_new() [all …]
|
D | abi16.c | 275 struct nouveau_bo_priv *nvbo = nouveau_bo(bo); in abi16_bo_info() local 277 nvbo->map_handle = info->map_handle; in abi16_bo_info() 289 if (nvbo->map_handle) in abi16_bo_info()
|