Home
last modified time | relevance | path

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

123

/linux/drivers/gpu/drm/xe/tests/
A Dxe_bo.c122 if (IS_DGFX(xe)) in ccs_test_run_tile()
168 if (GRAPHICS_VER(xe) >= 20 && IS_DGFX(xe)) { in ccs_test_run_device()
177 if (!IS_DGFX(xe) && id > 0) in ccs_test_run_device()
339 if (!IS_DGFX(xe)) { in evict_test_run_device()
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_domain.c27 if (IS_DGFX(i915)) in gpu_write_needs_clflush()
48 if (IS_DGFX(i915)) in i915_gem_cpu_write_needs_clflush()
308 if (IS_DGFX(to_i915(dev))) in i915_gem_get_caching_ioctl()
348 if (IS_DGFX(i915)) in i915_gem_set_caching_ioctl()
557 if (IS_DGFX(to_i915(dev))) in i915_gem_set_domain_ioctl()
A Di915_gem_object.c171 !IS_DGFX(i915); in i915_gem_object_set_cache_coherency()
202 !IS_DGFX(i915); in i915_gem_object_set_pat_index()
314 if (obj->userfault_count && !IS_DGFX(to_i915(obj->base.dev))) in __i915_gem_object_free_mmaps()
537 if (IS_DGFX(to_i915(obj->base.dev))) in object_has_mappable_iomem()
640 if (IS_DGFX(to_i915(obj->base.dev)) && in i915_gem_object_has_struct_page()
659 if (IS_DGFX(to_i915(obj->base.dev)) && in i915_gem_object_has_iomem()
A Di915_gem_clflush.c79 if (IS_DGFX(i915)) { in i915_gem_clflush_object()
A Di915_gem_shmem.c392 if (!HAS_LLC(i915) && !IS_DGFX(i915)) in __i915_gem_object_release_shmem()
665 GEM_WARN_ON(IS_DGFX(i915)); in i915_gem_object_create_shmem_from_data()
A Di915_gem_pages.c34 WARN_ON_ONCE(IS_DGFX(i915)); in __i915_gem_object_set_pages()
418 } else if (IS_DGFX(to_i915(obj->base.dev))) { in i915_gem_object_pin_map()
/linux/drivers/gpu/drm/xe/
A Dxe_ttm_stolen_mgr.c57 return GRAPHICS_VERx100(xe) < 1270 && !IS_DGFX(xe); in xe_ttm_stolen_cpu_access_needs_ggtt()
218 else if (IS_DGFX(xe)) in xe_ttm_stolen_mgr_init()
300 XE_WARN_ON(IS_DGFX(xe)); in __xe_ttm_stolen_io_mem_reserve_stolen()
A Dxe_bo_evict.c50 if (mem_type == XE_PL_TT && (IS_DGFX(xe) || !xe_device_has_flat_ccs(xe))) in xe_bo_evict_all()
195 if (!IS_DGFX(xe)) in xe_bo_restore_user()
A Dxe_migrate.c236 if (!IS_DGFX(xe)) { in xe_migrate_prepare_vm()
303 vm->pt_ops->pte_encode_addr(xe, 0, pat_index, level, IS_DGFX(xe), 0) in xe_migrate_prepare_vm()
308 if (IS_DGFX(xe)) { in xe_migrate_prepare_vm()
386 return xe_device_has_flat_ccs(xe) && !(GRAPHICS_VER(xe) >= 20 && IS_DGFX(xe)); in xe_migrate_needs_ccs_emit()
461 if (IS_DGFX(xe)) { in xe_migrate_init()
479 if (!IS_DGFX(xe) && xe_device_has_flat_ccs(xe)) in max_mem_transfer_per_pass()
882 IS_DGFX(xe) ? src_is_vram : src_is_pltt, in xe_migrate_copy()
884 IS_DGFX(xe) ? dst_is_vram : dst_is_pltt, in xe_migrate_copy()
1071 if (!clear_bo_data && clear_ccs && !IS_DGFX(xe)) in xe_migrate_clear()
1341 if (IS_DGFX(xe)) in __xe_migrate_update_pgtables()
[all …]
A Dxe_pat.c311 if (IS_DGFX(gt_to_xe(gt))) in xe2lpg_program_pat()
321 if (IS_DGFX(gt_to_xe(gt))) in xe2lpm_program_pat()
425 WARN_ON_ONCE(!IS_DGFX(xe) && !xe->info.has_llc); in xe_pat_init_early()
A Dxe_gt_sriov_pf_config.c330 return IS_DGFX(xe) && xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K ? SZ_64K : SZ_4K; in pf_get_ggtt_alignment()
1292 xe_assert(xe, IS_DGFX(xe)); in pf_reset_vf_lmtt()
1313 xe_assert(xe, IS_DGFX(xe)); in pf_update_vf_lmtt()
1361 xe_gt_assert(gt, IS_DGFX(gt_to_xe(gt))); in pf_release_vf_config_lmem()
1380 xe_gt_assert(gt, IS_DGFX(xe)); in pf_provision_vf_lmem()
1575 if (!IS_DGFX(gt_to_xe(gt))) in xe_gt_sriov_pf_config_set_fair_lmem()
1866 if (IS_DGFX(xe)) { in pf_release_vf_config()
1956 if (IS_DGFX(xe)) in pf_sanitize_vf_resources()
2040 if (IS_DGFX(xe)) { in pf_validate_vf_config()
A Dxe_lmtt.c167 if (!IS_DGFX(xe)) in xe_lmtt_init()
489 lmtt_assert(lmtt, IS_DGFX(lmtt_to_xe(lmtt))); in xe_lmtt_estimate_pt_size()
A Dxe_device.c493 if (!IS_DGFX(xe)) in wait_for_lmem_ready()
808 if (IS_DGFX(xe)) in xe_device_wmb()
835 if (!IS_DGFX(xe) || GRAPHICS_VER(xe) < 20) in xe_device_td_flush()
A Dxe_bo.c79 return res->mem_type == XE_PL_STOLEN && IS_DGFX(xe); in resource_is_stolen_vram()
366 if (!IS_DGFX(xe)) { in xe_ttm_tt_create()
660 bool handle_system_ccs = (!IS_DGFX(xe) && xe_bo_needs_ccs_pages(bo) && in xe_bo_move()
1657 xe_assert(xe, IS_DGFX(xe)); in xe_managed_bo_reinit_in_vram()
1758 if (IS_DGFX(xe) && !(IS_ENABLED(CONFIG_DRM_XE_DEBUG) && in xe_bo_pin()
2275 if (GRAPHICS_VER(xe) >= 20 && IS_DGFX(xe)) in xe_bo_needs_ccs_pages()
2286 if (IS_DGFX(xe) && (bo->flags & XE_BO_FLAG_SYSTEM)) in xe_bo_needs_ccs_pages()
A Dxe_device_types.h45 #define IS_DGFX(xe) ((xe)->info.is_dgfx) macro
A Dxe_pcode.c280 if (!IS_DGFX(xe)) in xe_pcode_ready()
A Dxe_wopcm.c182 return IS_DGFX(xe) ? DGFX_WOPCM_SIZE : in xe_wopcm_size()
/linux/drivers/gpu/drm/i915/selftests/
A Dlibrapl.c14 if (IS_DGFX(i915)) in librapl_supported()
/linux/drivers/gpu/drm/xe/display/
A Dintel_fb_bo.c80 if (IS_DGFX(i915) && in intel_fb_bo_lookup_valid_bo()
A Dxe_fb_pin.c100 if (IS_DGFX(xe)) in __xe_pin_fb_vma_dpt()
278 if (IS_DGFX(to_xe_device(bo->ttm.base.dev)) && in __xe_pin_fb_vma()
303 if (IS_DGFX(xe)) in __xe_pin_fb_vma()
A Dintel_fbdev_fb.c42 if (!IS_DGFX(xe) && !XE_WA(xe_root_mmio_gt(xe), 22019338487_display)) { in intel_fbdev_fb_alloc()
/linux/drivers/gpu/drm/i915/gt/
A Dintel_llc.c56 if (!HAS_LLC(i915) || IS_DGFX(i915)) in get_ia_constants()
/linux/drivers/gpu/drm/i915/display/
A Dintel_plane_initial.c73 if (IS_DGFX(i915)) in initial_plane_phys_lmem()
131 if (IS_DGFX(i915) || HAS_LMEMBAR_SMEM_STOLEN(i915)) in initial_plane_phys()
/linux/drivers/gpu/drm/i915/
A Dintel_pcode.c227 if (!IS_DGFX(uncore->i915)) in intel_pcode_init()
A Dintel_runtime_pm.c410 if (!IS_DGFX(i915)) in intel_runtime_pm_enable()

Completed in 64 milliseconds

123