Home
last modified time | relevance | path

Searched refs:IS_DGFX (Results 1 – 25 of 28) sorted by relevance

12

/linux/drivers/gpu/drm/xe/tests/
H A Dxe_bo.c137 if (IS_DGFX(xe)) in ccs_test_run_tile()
183 if (GRAPHICS_VER(xe) >= 20 && IS_DGFX(xe)) { in ccs_test_run_device()
192 if (!IS_DGFX(xe) && id > 0) in ccs_test_run_device()
354 if (!IS_DGFX(xe)) { in evict_test_run_device()
467 if (!IS_DGFX(xe) && xe_device_has_flat_ccs(xe)) in shrink_test_run_device()
/linux/drivers/gpu/drm/xe/
H A Dxe_bo_evict.c134 if (mem_type == XE_PL_TT && (IS_DGFX(xe) || !xe_device_has_flat_ccs(xe))) in xe_bo_evict_all_user()
258 if (!IS_DGFX(xe)) in xe_bo_restore_late()
H A Dxe_survivability_mode.c292 if (!IS_DGFX(xe) || IS_SRIOV_VF(xe) || xe->info.platform < XE_BATTLEMAGE) in xe_survivability_mode_is_requested()
323 if (!IS_DGFX(xe) || IS_SRIOV_VF(xe) || xe->info.platform < XE_BATTLEMAGE) { in xe_survivability_mode_runtime_enable()
H A Dxe_device.c321 if (!IS_DGFX(xe)) in xe_pci_barrier_mmap()
652 if (!IS_DGFX(xe)) in wait_for_lmem_ready()
708 if (!IS_DGFX(xe)) in xe_device_vram_alloc()
1028 if (IS_DGFX(xe)) in xe_device_wmb()
1115 if (!IS_DGFX(xe) || GRAPHICS_VER(xe) < 20) in xe_device_td_flush()
H A Dxe_migrate.c236 if (!IS_DGFX(xe)) { in xe_migrate_prepare_vm()
308 vm->pt_ops->pte_encode_addr(xe, 0, pat_index, level, IS_DGFX(xe), 0) in xe_migrate_prepare_vm()
313 if (IS_DGFX(xe)) { in xe_migrate_prepare_vm()
391 return xe_device_has_flat_ccs(xe) && !(GRAPHICS_VER(xe) >= 20 && IS_DGFX(xe)); in xe_migrate_needs_ccs_emit()
495 if (IS_DGFX(xe)) { in xe_migrate_init()
518 if (!IS_DGFX(xe) && xe_device_has_flat_ccs(xe)) in max_mem_transfer_per_pass()
984 IS_DGFX(xe) ? src_is_vram : src_is_pltt, in xe_migrate_copy()
986 IS_DGFX(xe) ? dst_is_vram : dst_is_pltt, in xe_migrate_copy()
1468 if (!clear_bo_data && clear_ccs && !IS_DGFX(xe)) in xe_migrate_clear()
1740 if (IS_DGFX(xe)) in __xe_migrate_update_pgtables()
[all …]
H A Dxe_svm.c894 (IS_DGFX(xe) ? XE_BO_FLAG_VRAM(vr) : XE_BO_FLAG_SYSTEM) | in xe_drm_pagemap_populate_mm()
966 xe_assert(vm->xe, IS_DGFX(vm->xe)); in xe_svm_range_needs_migrate_to_vram()
1034 int devmem_possible = IS_DGFX(vm->xe) &&
1266 if (IS_DGFX(vm->xe) && xe_svm_range_in_vram(to_xe_range(range))) in xe_svm_unmap_address_range()
1427 return IS_DGFX(tile_to_xe(tile)) ? tile_local_pagemap(tile) : NULL; in xe_vma_resolve_pagemap()
H A Dxe_ggtt.c118 xe_tile_assert(tile, IS_DGFX(tile_to_xe(tile))); in ggtt_update_access_counter()
124 xe_tile_assert(tile, !IS_DGFX(tile_to_xe(tile))); in ggtt_update_access_counter()
311 if (IS_DGFX(xe) && xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K) in xe_ggtt_init_early()
H A Dxe_shrinker.c171 if (IS_DGFX(xe) || !xe_device_has_flat_ccs(xe) || in xe_shrinker_runtime_pm_get()
H A Dxe_device_types.h69 #define IS_DGFX(xe) ((xe)->info.is_dgfx) macro
H A Dxe_bo.c97 return res->mem_type == XE_PL_STOLEN && IS_DGFX(xe); in resource_is_stolen_vram()
500 if (!IS_DGFX(xe)) { in xe_ttm_tt_create()
854 bool handle_system_ccs = (!IS_DGFX(xe) && xe_bo_needs_ccs_pages(bo) && in xe_bo_move()
1159 needs_rpm = (!IS_DGFX(xe) && bo->resource->mem_type != XE_PL_SYSTEM && in xe_bo_shrink()
2731 xe_assert(xe, IS_DGFX(xe)); in xe_managed_bo_reinit_in_vram()
3305 if (XE_IOCTL_DBG(xe, !IS_DGFX(xe))) in xe_gem_mmap_offset_ioctl()
3509 if (GRAPHICS_VER(xe) >= 20 && IS_DGFX(xe)) in xe_bo_needs_ccs_pages()
3520 if (IS_DGFX(xe) && (bo->flags & XE_BO_FLAG_SYSTEM)) in xe_bo_needs_ccs_pages()
H A Dxe_sriov_vf_ccs.c277 return !IS_DGFX(xe) && xe_device_has_flat_ccs(xe); in vf_migration_ccs_bb_needed()
H A Dxe_gt_sriov_pf_config.c387 return IS_DGFX(xe) && xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K ? SZ_64K : SZ_4K; in pf_get_ggtt_alignment()
1556 xe_gt_assert(gt, IS_DGFX(gt_to_xe(gt))); in pf_release_vf_config_lmem()
1577 xe_gt_assert(gt, IS_DGFX(xe)); in pf_provision_vf_lmem()
2286 if (IS_DGFX(xe)) { in pf_release_vf_config()
2377 if (IS_DGFX(xe)) in pf_sanitize_vf_resources()
2577 if (!IS_DGFX(gt_to_xe(gt))) in pf_restore_vf_config_klv()
H A Dxe_vram.c365 if (!IS_DGFX(xe)) in xe_vram_probe()
H A Dxe_pm.c328 if (IS_DGFX(xe)) in xe_pm_runtime_init()
H A Dxe_gt_sriov_vf.c586 if (IS_DGFX(xe) && xe_gt_is_main_type(gt)) { in xe_gt_sriov_vf_query_config()
1042 if (IS_DGFX(xe)) { in xe_gt_sriov_vf_print_config()
H A Dxe_gt.c563 IS_DGFX(xe) ? SZ_1M : SZ_512K, 16); in gt_init_with_all_forcewake()
H A Dxe_guc_ads.c852 if (GRAPHICS_VER(xe) >= 12 && !IS_DGFX(xe)) { in guc_doorbell_init()
H A Dxe_vm.c1554 if (IS_DGFX(xe) && xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K) in xe_vm_create()
2326 ctx.devmem_possible = IS_DGFX(vm->xe) && in vm_bind_ioctl_ops_create()
2879 bool devmem_possible = IS_DGFX(vm->xe) && IS_ENABLED(CONFIG_DRM_XE_PAGEMAP); in prefetch_ranges()
4225 if (!IS_DGFX(xe) || !is_atomic) in xe_vma_need_vram_for_atomic()
H A Dxe_pt.c73 return vm->pt_ops->pte_encode_addr(xe, 0, pat_index, level, IS_DGFX(xe), 0) | in __xe_pt_empty_pte()
672 return (!IS_DGFX(xe) || (!xe_vm_in_lr_mode(vm) || in xe_atomic_for_system()
H A Dxe_oa.c2519 else if (!IS_DGFX(gt_to_xe(gt))) in num_oa_units_per_gt()
2543 else if (!IS_DGFX(gt_to_xe(hwe->gt))) in __hwe_oam_unit()
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_llc.c56 if (!HAS_LLC(i915) || IS_DGFX(i915)) in get_ia_constants()
H A Dintel_ppgtt.c238 GEM_BUG_ON(!IS_DGFX(vm->i915)); in i915_vm_alloc_pt_stash()
/linux/drivers/gpu/drm/i915/pxp/
H A Dintel_pxp_tee.c239 if (!IS_DGFX(i915)) in alloc_streaming_command()
/linux/drivers/gpu/drm/i915/
H A Di915_hwmon.c915 if (!IS_DGFX(i915)) in i915_hwmon_register()
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_ads.c904 if (GRAPHICS_VER(i915) >= 12 && !IS_DGFX(i915)) { in __guc_ads_init()

12