| /linux/drivers/gpu/drm/xe/tests/ |
| A D | xe_bo.c | 122 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 D | i915_gem_domain.c | 27 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 D | i915_gem_object.c | 171 !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 D | i915_gem_clflush.c | 79 if (IS_DGFX(i915)) { in i915_gem_clflush_object()
|
| A D | i915_gem_shmem.c | 392 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 D | i915_gem_pages.c | 34 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 D | xe_ttm_stolen_mgr.c | 57 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 D | xe_bo_evict.c | 50 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 D | xe_migrate.c | 236 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 D | xe_pat.c | 311 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 D | xe_gt_sriov_pf_config.c | 330 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 D | xe_lmtt.c | 167 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 D | xe_device.c | 493 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 D | xe_bo.c | 79 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 D | xe_device_types.h | 45 #define IS_DGFX(xe) ((xe)->info.is_dgfx) macro
|
| A D | xe_pcode.c | 280 if (!IS_DGFX(xe)) in xe_pcode_ready()
|
| A D | xe_wopcm.c | 182 return IS_DGFX(xe) ? DGFX_WOPCM_SIZE : in xe_wopcm_size()
|
| /linux/drivers/gpu/drm/i915/selftests/ |
| A D | librapl.c | 14 if (IS_DGFX(i915)) in librapl_supported()
|
| /linux/drivers/gpu/drm/xe/display/ |
| A D | intel_fb_bo.c | 80 if (IS_DGFX(i915) && in intel_fb_bo_lookup_valid_bo()
|
| A D | xe_fb_pin.c | 100 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 D | intel_fbdev_fb.c | 42 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 D | intel_llc.c | 56 if (!HAS_LLC(i915) || IS_DGFX(i915)) in get_ia_constants()
|
| /linux/drivers/gpu/drm/i915/display/ |
| A D | intel_plane_initial.c | 73 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 D | intel_pcode.c | 227 if (!IS_DGFX(uncore->i915)) in intel_pcode_init()
|
| A D | intel_runtime_pm.c | 410 if (!IS_DGFX(i915)) in intel_runtime_pm_enable()
|