| /linux/drivers/gpu/drm/xe/tests/ |
| H A D | xe_bo.c | 137 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 D | xe_bo_evict.c | 134 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 D | xe_survivability_mode.c | 292 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 D | xe_device.c | 321 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 D | xe_migrate.c | 236 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 D | xe_svm.c | 894 (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 D | xe_ggtt.c | 118 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 D | xe_shrinker.c | 171 if (IS_DGFX(xe) || !xe_device_has_flat_ccs(xe) || in xe_shrinker_runtime_pm_get()
|
| H A D | xe_device_types.h | 69 #define IS_DGFX(xe) ((xe)->info.is_dgfx) macro
|
| H A D | xe_bo.c | 97 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 D | xe_sriov_vf_ccs.c | 277 return !IS_DGFX(xe) && xe_device_has_flat_ccs(xe); in vf_migration_ccs_bb_needed()
|
| H A D | xe_gt_sriov_pf_config.c | 387 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 D | xe_vram.c | 365 if (!IS_DGFX(xe)) in xe_vram_probe()
|
| H A D | xe_pm.c | 328 if (IS_DGFX(xe)) in xe_pm_runtime_init()
|
| H A D | xe_gt_sriov_vf.c | 586 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 D | xe_gt.c | 563 IS_DGFX(xe) ? SZ_1M : SZ_512K, 16); in gt_init_with_all_forcewake()
|
| H A D | xe_guc_ads.c | 852 if (GRAPHICS_VER(xe) >= 12 && !IS_DGFX(xe)) { in guc_doorbell_init()
|
| H A D | xe_vm.c | 1554 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 D | xe_pt.c | 73 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 D | xe_oa.c | 2519 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 D | intel_llc.c | 56 if (!HAS_LLC(i915) || IS_DGFX(i915)) in get_ia_constants()
|
| H A D | intel_ppgtt.c | 238 GEM_BUG_ON(!IS_DGFX(vm->i915)); in i915_vm_alloc_pt_stash()
|
| /linux/drivers/gpu/drm/i915/pxp/ |
| H A D | intel_pxp_tee.c | 239 if (!IS_DGFX(i915)) in alloc_streaming_command()
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_hwmon.c | 915 if (!IS_DGFX(i915)) in i915_hwmon_register()
|
| /linux/drivers/gpu/drm/i915/gt/uc/ |
| H A D | intel_guc_ads.c | 904 if (GRAPHICS_VER(i915) >= 12 && !IS_DGFX(i915)) { in __guc_ads_init()
|