| /linux-6.15/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_domain.c | 25 if (IS_DGFX(i915)) in gpu_write_needs_clflush() 46 if (IS_DGFX(i915)) in i915_gem_cpu_write_needs_clflush() 306 if (IS_DGFX(to_i915(dev))) in i915_gem_get_caching_ioctl() 346 if (IS_DGFX(i915)) in i915_gem_set_caching_ioctl() 548 if (IS_DGFX(to_i915(dev))) in i915_gem_set_domain_ioctl()
|
| H 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()
|
| H A D | i915_gem_clflush.c | 79 if (IS_DGFX(i915)) { in i915_gem_clflush_object()
|
| H A D | i915_gem_shmem.c | 388 if (!HAS_LLC(i915) && !IS_DGFX(i915)) in __i915_gem_object_release_shmem() 661 GEM_WARN_ON(IS_DGFX(i915)); in i915_gem_object_create_shmem_from_data()
|
| /linux-6.15/drivers/gpu/drm/xe/tests/ |
| H A D | xe_bo.c | 136 if (IS_DGFX(xe)) in ccs_test_run_tile() 182 if (GRAPHICS_VER(xe) >= 20 && IS_DGFX(xe)) { in ccs_test_run_device() 191 if (!IS_DGFX(xe) && id > 0) in ccs_test_run_device() 352 if (!IS_DGFX(xe)) { in evict_test_run_device() 465 if (!IS_DGFX(xe) && xe_device_has_flat_ccs(xe)) in shrink_test_run_device()
|
| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_ttm_stolen_mgr.c | 57 return GRAPHICS_VERx100(xe) < 1270 && !IS_DGFX(xe); in xe_ttm_stolen_cpu_access_needs_ggtt() 223 else if (IS_DGFX(xe)) in xe_ttm_stolen_mgr_init() 307 XE_WARN_ON(IS_DGFX(xe)); in __xe_ttm_stolen_io_mem_reserve_stolen()
|
| H 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() 201 if (!IS_DGFX(xe)) in xe_bo_restore_user()
|
| H A D | xe_migrate.c | 237 if (!IS_DGFX(xe)) { in xe_migrate_prepare_vm() 304 vm->pt_ops->pte_encode_addr(xe, 0, pat_index, level, IS_DGFX(xe), 0) in xe_migrate_prepare_vm() 309 if (IS_DGFX(xe)) { in xe_migrate_prepare_vm() 387 return xe_device_has_flat_ccs(xe) && !(GRAPHICS_VER(xe) >= 20 && IS_DGFX(xe)); in xe_migrate_needs_ccs_emit() 462 if (IS_DGFX(xe)) { in xe_migrate_init() 480 if (!IS_DGFX(xe) && xe_device_has_flat_ccs(xe)) in max_mem_transfer_per_pass() 883 IS_DGFX(xe) ? src_is_vram : src_is_pltt, in xe_migrate_copy() 885 IS_DGFX(xe) ? dst_is_vram : dst_is_pltt, in xe_migrate_copy() 1072 if (!clear_bo_data && clear_ccs && !IS_DGFX(xe)) in xe_migrate_clear() 1342 if (IS_DGFX(xe)) in __xe_migrate_update_pgtables() [all …]
|
| H A D | xe_pat.c | 312 if (IS_DGFX(gt_to_xe(gt))) in xe2lpg_program_pat() 322 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()
|
| H A D | xe_tile.c | 173 if (xe->info.has_usm && IS_DGFX(xe)) in xe_tile_init_noalloc()
|
| H A D | xe_device.c | 307 if (!IS_DGFX(xe)) in xe_pci_barrier_mmap() 631 if (!IS_DGFX(xe)) in wait_for_lmem_ready() 971 if (IS_DGFX(xe)) in xe_device_wmb() 999 if (!IS_DGFX(xe) || GRAPHICS_VER(xe) < 20) in xe_device_td_flush()
|
| H A D | xe_svm.c | 780 .devmem_possible = IS_DGFX(vm->xe) && in xe_svm_handle_pagefault() 782 .check_pages_threshold = IS_DGFX(vm->xe) && in xe_svm_handle_pagefault() 784 .devmem_only = atomic && IS_DGFX(vm->xe) && in xe_svm_handle_pagefault() 786 .timeslice_ms = atomic && IS_DGFX(vm->xe) && in xe_svm_handle_pagefault()
|
| H A D | xe_bo.c | 85 return res->mem_type == XE_PL_STOLEN && IS_DGFX(xe); in resource_is_stolen_vram() 436 if (!IS_DGFX(xe)) { in xe_ttm_tt_create() 760 bool handle_system_ccs = (!IS_DGFX(xe) && xe_bo_needs_ccs_pages(bo) && in xe_bo_move() 1075 needs_rpm = (!IS_DGFX(xe) && bo->resource->mem_type != XE_PL_SYSTEM && in xe_bo_shrink() 2054 xe_assert(xe, IS_DGFX(xe)); in xe_managed_bo_reinit_in_vram() 2157 if (IS_DGFX(xe) && !(IS_ENABLED(CONFIG_DRM_XE_DEBUG) && in xe_bo_pin() 2604 if (XE_IOCTL_DBG(xe, !IS_DGFX(xe))) in xe_gem_mmap_offset_ioctl() 2802 if (GRAPHICS_VER(xe) >= 20 && IS_DGFX(xe)) in xe_bo_needs_ccs_pages() 2813 if (IS_DGFX(xe) && (bo->flags & XE_BO_FLAG_SYSTEM)) in xe_bo_needs_ccs_pages()
|
| H A D | xe_device.h | 175 return IS_DGFX(xe); in xe_device_has_lmtt()
|
| H A D | xe_gt_sriov_pf_config.c | 365 return IS_DGFX(xe) && xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K ? SZ_64K : SZ_4K; in pf_get_ggtt_alignment() 1408 xe_gt_assert(gt, IS_DGFX(gt_to_xe(gt))); in pf_release_vf_config_lmem() 1427 xe_gt_assert(gt, IS_DGFX(xe)); in pf_provision_vf_lmem() 1624 if (!IS_DGFX(gt_to_xe(gt))) in xe_gt_sriov_pf_config_set_fair_lmem() 1986 if (IS_DGFX(xe)) { in pf_release_vf_config() 2077 if (IS_DGFX(xe)) in pf_sanitize_vf_resources() 2158 if (IS_DGFX(xe)) { in pf_validate_vf_config() 2277 if (!IS_DGFX(gt_to_xe(gt))) in pf_restore_vf_config_klv()
|
| H A D | xe_shrinker.c | 122 if (IS_DGFX(xe) || !xe_device_has_flat_ccs(xe) || in xe_shrinker_runtime_pm_get()
|
| H A D | xe_survivability_mode.c | 204 if (!IS_DGFX(xe) || xe->info.platform < XE_BATTLEMAGE || IS_SRIOV_VF(xe)) in survivability_mode_requested()
|
| /linux-6.15/drivers/gpu/drm/i915/selftests/ |
| H A D | librapl.c | 14 if (IS_DGFX(i915)) in librapl_supported()
|
| /linux-6.15/drivers/gpu/drm/xe/display/ |
| H A D | intel_fb_bo.c | 84 if (IS_DGFX(xe) && in intel_fb_bo_lookup_valid_bo()
|
| H A D | xe_fb_pin.c | 104 if (IS_DGFX(xe)) in __xe_pin_fb_vma_dpt() 293 if (IS_DGFX(to_xe_device(bo->ttm.base.dev)) && in __xe_pin_fb_vma() 318 if (IS_DGFX(xe)) in __xe_pin_fb_vma()
|
| H A D | intel_fbdev_fb.c | 43 if (!IS_DGFX(xe) && !XE_WA(xe_root_mmio_gt(xe), 22019338487_display)) { in intel_fbdev_fb_alloc()
|
| /linux-6.15/drivers/gpu/drm/i915/gt/ |
| H A D | intel_llc.c | 56 if (!HAS_LLC(i915) || IS_DGFX(i915)) in get_ia_constants()
|
| /linux-6.15/drivers/gpu/drm/i915/display/ |
| H A D | intel_plane_initial.c | 79 if (IS_DGFX(i915)) in initial_plane_phys_lmem() 140 if (IS_DGFX(i915) || HAS_LMEMBAR_SMEM_STOLEN(i915)) in initial_plane_phys()
|
| /linux-6.15/drivers/gpu/drm/i915/ |
| H A D | intel_pcode.c | 227 if (!IS_DGFX(uncore->i915)) in intel_pcode_init()
|
| /linux-6.15/drivers/gpu/drm/i915/soc/ |
| H A D | intel_dram.c | 687 drm_WARN_ON(&i915->drm, !IS_DGFX(i915)); in xelpdp_get_dram_info() 691 drm_WARN_ON(&i915->drm, !IS_DGFX(i915)); in xelpdp_get_dram_info()
|