| /drivers/gpu/drm/i915/gem/ |
| A D | i915_gem_domain.c | 23 if (IS_DGFX(i915)) in gpu_write_needs_clflush() 44 if (IS_DGFX(i915)) in i915_gem_cpu_write_needs_clflush() 304 if (IS_DGFX(to_i915(dev))) in i915_gem_get_caching_ioctl() 344 if (IS_DGFX(i915)) in i915_gem_set_caching_ioctl() 546 if (IS_DGFX(to_i915(dev))) in i915_gem_set_domain_ioctl()
|
| A D | i915_gem_object.c | 172 !IS_DGFX(i915); in i915_gem_object_set_cache_coherency() 203 !IS_DGFX(i915); in i915_gem_object_set_pat_index() 315 if (obj->userfault_count && !IS_DGFX(to_i915(obj->base.dev))) in __i915_gem_object_free_mmaps() 538 if (IS_DGFX(to_i915(obj->base.dev))) in object_has_mappable_iomem() 641 if (IS_DGFX(to_i915(obj->base.dev)) && in i915_gem_object_has_struct_page() 660 if (IS_DGFX(to_i915(obj->base.dev)) && in i915_gem_object_has_iomem()
|
| A D | i915_gem_clflush.c | 78 if (IS_DGFX(i915)) { in i915_gem_clflush_object()
|
| A D | i915_gem_shmem.c | 371 if (!HAS_LLC(i915) && !IS_DGFX(i915)) in __i915_gem_object_release_shmem() 604 GEM_WARN_ON(IS_DGFX(i915)); in i915_gem_object_create_shmem_from_data()
|
| /drivers/gpu/drm/xe/tests/ |
| 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()
|
| /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() 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()
|
| 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() 886 IS_DGFX(xe) ? src_is_vram : src_is_pltt, in xe_migrate_copy() 888 IS_DGFX(xe) ? dst_is_vram : dst_is_pltt, in xe_migrate_copy() 1075 if (!clear_bo_data && clear_ccs && !IS_DGFX(xe)) in xe_migrate_clear() 1345 if (IS_DGFX(xe)) in __xe_migrate_update_pgtables() [all …]
|
| A D | xe_svm.c | 778 xe_assert(vm->xe, IS_DGFX(vm->xe)); in xe_svm_range_needs_migrate_to_vram() 812 .devmem_possible = IS_DGFX(vm->xe) && in xe_svm_handle_pagefault() 814 .check_pages_threshold = IS_DGFX(vm->xe) && in xe_svm_handle_pagefault() 816 .devmem_only = atomic && IS_DGFX(vm->xe) && in xe_svm_handle_pagefault() 818 .timeslice_ms = atomic && IS_DGFX(vm->xe) && in xe_svm_handle_pagefault() 854 xe_svm_range_needs_migrate_to_vram(range, vma, IS_DGFX(vm->xe))) { in xe_svm_handle_pagefault()
|
| A D | xe_bo_evict.c | 125 if (mem_type == XE_PL_TT && (IS_DGFX(xe) || !xe_device_has_flat_ccs(xe))) in xe_bo_evict_all_user() 257 if (!IS_DGFX(xe)) in xe_bo_restore_late()
|
| A D | xe_tile.c | 170 if (xe->info.has_usm && IS_DGFX(xe)) in xe_tile_init_noalloc()
|
| A D | xe_device.c | 312 if (!IS_DGFX(xe)) in xe_pci_barrier_mmap() 635 if (!IS_DGFX(xe)) in wait_for_lmem_ready() 977 if (IS_DGFX(xe)) in xe_device_wmb() 1062 if (!IS_DGFX(xe) || GRAPHICS_VER(xe) < 20) in xe_device_td_flush()
|
| A D | xe_pat.c | 384 if (IS_DGFX(xe)) in xe_pat_init_early() 423 WARN_ON_ONCE(!IS_DGFX(xe) && !xe->info.has_llc); in xe_pat_init_early()
|
| A D | xe_bo.c | 89 return res->mem_type == XE_PL_STOLEN && IS_DGFX(xe); in resource_is_stolen_vram() 464 if (!IS_DGFX(xe)) { in xe_ttm_tt_create() 801 bool handle_system_ccs = (!IS_DGFX(xe) && xe_bo_needs_ccs_pages(bo) && in xe_bo_move() 1086 needs_rpm = (!IS_DGFX(xe) && bo->resource->mem_type != XE_PL_SYSTEM && in xe_bo_shrink() 2235 xe_assert(xe, IS_DGFX(xe)); in xe_managed_bo_reinit_in_vram() 2788 if (XE_IOCTL_DBG(xe, !IS_DGFX(xe))) in xe_gem_mmap_offset_ioctl() 2984 if (GRAPHICS_VER(xe) >= 20 && IS_DGFX(xe)) in xe_bo_needs_ccs_pages() 2995 if (IS_DGFX(xe) && (bo->flags & XE_BO_FLAG_SYSTEM)) in xe_bo_needs_ccs_pages()
|
| A D | xe_device.h | 172 return IS_DGFX(xe); in xe_device_has_lmtt()
|
| A D | xe_pci_sriov.c | 177 if (IS_DGFX(xe)) { in pf_enable_vfs()
|
| A D | xe_survivability_mode.c | 224 if (!IS_DGFX(xe) || IS_SRIOV_VF(xe)) in xe_survivability_mode_is_requested()
|
| A D | xe_wopcm.c | 184 return IS_DGFX(xe) ? DGFX_WOPCM_SIZE : in xe_wopcm_size()
|
| /drivers/gpu/drm/i915/selftests/ |
| A D | librapl.c | 14 if (IS_DGFX(i915)) in librapl_supported()
|
| /drivers/gpu/drm/xe/display/ |
| A D | intel_fb_bo.c | 84 if (IS_DGFX(xe) && in intel_fb_bo_lookup_valid_bo()
|
| A D | xe_fb_pin.c | 103 if (IS_DGFX(xe)) in __xe_pin_fb_vma_dpt() 289 if (IS_DGFX(to_xe_device(bo->ttm.base.dev)) && in __xe_pin_fb_vma() 314 if (IS_DGFX(xe)) in __xe_pin_fb_vma()
|
| A D | intel_fbdev_fb.c | 44 if (!IS_DGFX(xe) && !XE_WA(xe_root_mmio_gt(xe), 22019338487_display)) { in intel_fbdev_fb_alloc()
|
| /drivers/gpu/drm/i915/gt/ |
| A D | intel_llc.c | 56 if (!HAS_LLC(i915) || IS_DGFX(i915)) in get_ia_constants()
|
| /drivers/gpu/drm/i915/soc/ |
| A D | intel_dram.c | 691 drm_WARN_ON(&i915->drm, !IS_DGFX(i915)); in xelpdp_get_dram_info() 695 drm_WARN_ON(&i915->drm, !IS_DGFX(i915)); in xelpdp_get_dram_info()
|
| /drivers/gpu/drm/i915/ |
| A D | intel_runtime_pm.c | 412 if (!IS_DGFX(i915)) in intel_runtime_pm_enable()
|
| A D | i915_pmu.c | 1161 if (IS_DGFX(i915)) { in i915_pmu_register() 1208 if (IS_DGFX(i915)) in i915_pmu_register() 1228 if (IS_DGFX(i915)) in i915_pmu_unregister()
|