Symbol: IS_DGFX
drivers/gpu/drm/i915/gem/i915_gem_clflush.c
78
if (IS_DGFX(i915)) {
drivers/gpu/drm/i915/gem/i915_gem_domain.c
23
if (IS_DGFX(i915))
drivers/gpu/drm/i915/gem/i915_gem_domain.c
304
if (IS_DGFX(to_i915(dev)))
drivers/gpu/drm/i915/gem/i915_gem_domain.c
344
if (IS_DGFX(i915))
drivers/gpu/drm/i915/gem/i915_gem_domain.c
44
if (IS_DGFX(i915))
drivers/gpu/drm/i915/gem/i915_gem_domain.c
546
if (IS_DGFX(to_i915(dev)))
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
2005
(IS_DGFX(eb->i915) || GRAPHICS_VER_FULL(eb->i915) > IP_VER(12, 0)))
drivers/gpu/drm/i915/gem/i915_gem_mman.c
72
if (IS_DGFX(i915) || GRAPHICS_VER_FULL(i915) > IP_VER(12, 0))
drivers/gpu/drm/i915/gem/i915_gem_object.c
173
!IS_DGFX(i915);
drivers/gpu/drm/i915/gem/i915_gem_object.c
204
!IS_DGFX(i915);
drivers/gpu/drm/i915/gem/i915_gem_object.c
316
if (obj->userfault_count && !IS_DGFX(to_i915(obj->base.dev)))
drivers/gpu/drm/i915/gem/i915_gem_object.c
539
if (IS_DGFX(to_i915(obj->base.dev)))
drivers/gpu/drm/i915/gem/i915_gem_object.c
642
if (IS_DGFX(to_i915(obj->base.dev)) &&
drivers/gpu/drm/i915/gem/i915_gem_object.c
661
if (IS_DGFX(to_i915(obj->base.dev)) &&
drivers/gpu/drm/i915/gem/i915_gem_pages.c
38
WARN_ON_ONCE(IS_DGFX(i915));
drivers/gpu/drm/i915/gem/i915_gem_pages.c
547
} else if (IS_DGFX(to_i915(obj->base.dev))) {
drivers/gpu/drm/i915/gem/i915_gem_shmem.c
379
if (!HAS_LLC(i915) && !IS_DGFX(i915))
drivers/gpu/drm/i915/gem/i915_gem_shmem.c
631
GEM_WARN_ON(IS_DGFX(i915));
drivers/gpu/drm/i915/gt/intel_llc.c
56
if (!HAS_LLC(i915) || IS_DGFX(i915))
drivers/gpu/drm/i915/gt/intel_migrate.c
700
GEM_BUG_ON(IS_DGFX(ce->engine->i915) && (!src_is_lmem && !dst_is_lmem));
drivers/gpu/drm/i915/gt/intel_mocs.c
451
return !IS_DGFX(i915);
drivers/gpu/drm/i915/gt/intel_ppgtt.c
238
GEM_BUG_ON(!IS_DGFX(vm->i915));
drivers/gpu/drm/i915/gt/intel_region_lmem.c
199
if (!IS_DGFX(i915))
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c
904
if (GRAPHICS_VER(i915) >= 12 && !IS_DGFX(i915)) {
drivers/gpu/drm/i915/i915_hwmon.c
915
if (!IS_DGFX(i915))
drivers/gpu/drm/i915/i915_initial_plane.c
26
if (IS_DGFX(i915))
drivers/gpu/drm/i915/i915_pmu.c
1163
if (IS_DGFX(i915)) {
drivers/gpu/drm/i915/i915_pmu.c
1210
if (IS_DGFX(i915))
drivers/gpu/drm/i915/i915_pmu.c
1230
if (IS_DGFX(i915))
drivers/gpu/drm/i915/intel_memory_region.c
354
if (IS_DGFX(i915))
drivers/gpu/drm/i915/intel_pcode.c
229
if (!IS_DGFX(uncore->i915))
drivers/gpu/drm/i915/intel_runtime_pm.c
489
if (!IS_DGFX(i915))
drivers/gpu/drm/i915/intel_uncore.c
2356
if (IS_DGFX(i915) || GRAPHICS_VER_FULL(i915) >= IP_VER(12, 70))
drivers/gpu/drm/i915/intel_uncore.c
2519
if (IS_DGFX(i915) &&
drivers/gpu/drm/i915/pxp/intel_pxp_tee.c
239
if (!IS_DGFX(i915))
drivers/gpu/drm/i915/selftests/librapl.c
14
if (IS_DGFX(i915))
drivers/gpu/drm/xe/display/intel_fb_bo.c
83
if (IS_DGFX(xe) &&
drivers/gpu/drm/xe/display/intel_fbdev_fb.c
33
if (!IS_DGFX(xe) && !XE_DEVICE_WA(xe, 22019338487_display)) {
drivers/gpu/drm/xe/display/xe_fb_pin.c
104
if (IS_DGFX(xe))
drivers/gpu/drm/xe/display/xe_fb_pin.c
287
if (IS_DGFX(to_xe_device(bo->ttm.base.dev)) &&
drivers/gpu/drm/xe/display/xe_fb_pin.c
315
if (IS_DGFX(xe))
drivers/gpu/drm/xe/display/xe_initial_plane.c
59
if (IS_DGFX(xe)) {
drivers/gpu/drm/xe/tests/xe_bo.c
138
if (IS_DGFX(xe))
drivers/gpu/drm/xe/tests/xe_bo.c
184
if (GRAPHICS_VER(xe) >= 20 && IS_DGFX(xe)) {
drivers/gpu/drm/xe/tests/xe_bo.c
192
if (!IS_DGFX(xe) && id > 0)
drivers/gpu/drm/xe/tests/xe_bo.c
352
if (!IS_DGFX(xe)) {
drivers/gpu/drm/xe/tests/xe_bo.c
462
if (!IS_DGFX(xe) && xe_device_has_flat_ccs(xe))
drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
407
KUNIT_ASSERT_TRUE(test, IS_DGFX(xe));
drivers/gpu/drm/xe/tests/xe_guc_g2g_test.c
746
if (IS_DGFX(xe)) {
drivers/gpu/drm/xe/tests/xe_migrate.c
273
IS_DGFX(xe));
drivers/gpu/drm/xe/tests/xe_migrate.c
754
if (!(GRAPHICS_VER(xe) >= 20 && IS_DGFX(xe))) {
drivers/gpu/drm/xe/xe_bo.c
1158
needs_rpm = (!IS_DGFX(xe) && bo->resource->mem_type != XE_PL_SYSTEM &&
drivers/gpu/drm/xe/xe_bo.c
2726
xe_assert(xe, IS_DGFX(xe));
drivers/gpu/drm/xe/xe_bo.c
3307
if (XE_IOCTL_DBG(xe, !IS_DGFX(xe)))
drivers/gpu/drm/xe/xe_bo.c
3511
if (GRAPHICS_VER(xe) >= 20 && IS_DGFX(xe))
drivers/gpu/drm/xe/xe_bo.c
3522
if (IS_DGFX(xe) && (bo->flags & XE_BO_FLAG_SYSTEM))
drivers/gpu/drm/xe/xe_bo.c
500
if (!IS_DGFX(xe)) {
drivers/gpu/drm/xe/xe_bo.c
853
bool handle_system_ccs = (!IS_DGFX(xe) && xe_bo_needs_ccs_pages(bo) &&
drivers/gpu/drm/xe/xe_bo.c
97
return res->mem_type == XE_PL_STOLEN && IS_DGFX(xe);
drivers/gpu/drm/xe/xe_bo.h
30
#define XE_BO_FLAG_VRAM_IF_DGFX(tile) (IS_DGFX(tile_to_xe(tile)) ? \
drivers/gpu/drm/xe/xe_bo_evict.c
134
if (mem_type == XE_PL_TT && (IS_DGFX(xe) || !xe_device_has_flat_ccs(xe)))
drivers/gpu/drm/xe/xe_bo_evict.c
258
if (!IS_DGFX(xe))
drivers/gpu/drm/xe/xe_device.c
1080
if (IS_DGFX(xe))
drivers/gpu/drm/xe/xe_device.c
1161
if (!IS_DGFX(xe) || GRAPHICS_VER(xe) < 20)
drivers/gpu/drm/xe/xe_device.c
322
if (!IS_DGFX(xe))
drivers/gpu/drm/xe/xe_device.c
657
if (!IS_DGFX(xe) || IS_SRIOV_VF(xe))
drivers/gpu/drm/xe/xe_device.c
680
if (!IS_DGFX(xe))
drivers/gpu/drm/xe/xe_device.h
172
return IS_DGFX(xe);
drivers/gpu/drm/xe/xe_ggtt.c
135
xe_tile_assert(tile, IS_DGFX(tile_to_xe(tile)));
drivers/gpu/drm/xe/xe_ggtt.c
141
xe_tile_assert(tile, !IS_DGFX(tile_to_xe(tile)));
drivers/gpu/drm/xe/xe_ggtt.c
358
if (IS_DGFX(xe) && xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K)
drivers/gpu/drm/xe/xe_gsc.c
529
xe_assert(xe, !IS_DGFX(xe));
drivers/gpu/drm/xe/xe_gt.c
617
IS_DGFX(xe) ? SZ_1M : SZ_512K, 16);
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1630
xe_gt_assert(gt, IS_DGFX(gt_to_xe(gt)));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
1651
xe_gt_assert(gt, IS_DGFX(xe));
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
2534
if (IS_DGFX(xe)) {
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
2625
if (IS_DGFX(xe))
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
2837
if (!IS_DGFX(gt_to_xe(gt)))
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
434
return IS_DGFX(xe) && xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K ? SZ_64K : SZ_4K;
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
1156
if (IS_DGFX(xe)) {
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
679
if (IS_DGFX(xe) && xe_gt_is_main_type(gt)) {
drivers/gpu/drm/xe/xe_guc.c
693
if (!IS_DGFX(guc_to_xe(guc)))
drivers/gpu/drm/xe/xe_guc_ads.c
850
if (GRAPHICS_VER(xe) >= 12 && !IS_DGFX(xe)) {
drivers/gpu/drm/xe/xe_guc_ct.c
391
if (IS_DGFX(xe)) {
drivers/gpu/drm/xe/xe_guc_submit.c
3322
xe_gt_assert(gt, !IS_DGFX(xe));
drivers/gpu/drm/xe/xe_huc.c
115
if (!IS_DGFX(huc_to_xe(huc)))
drivers/gpu/drm/xe/xe_hw_engine.c
430
const u8 mocs_read_idx = hwe->class == XE_ENGINE_CLASS_COMPUTE && IS_DGFX(xe) &&
drivers/gpu/drm/xe/xe_hw_error.c
176
if (!IS_DGFX(xe) || IS_SRIOV_VF(xe))
drivers/gpu/drm/xe/xe_hwmon.c
1538
if (!IS_DGFX(xe))
drivers/gpu/drm/xe/xe_migrate.c
1521
if (!clear_bo_data && clear_ccs && !IS_DGFX(xe))
drivers/gpu/drm/xe/xe_migrate.c
1793
if (IS_DGFX(xe))
drivers/gpu/drm/xe/xe_migrate.c
1804
if (!IS_DGFX(xe)) {
drivers/gpu/drm/xe/xe_migrate.c
238
if (!IS_DGFX(xe)) {
drivers/gpu/drm/xe/xe_migrate.c
310
vm->pt_ops->pte_encode_addr(xe, 0, pat_index, level, IS_DGFX(xe), 0)
drivers/gpu/drm/xe/xe_migrate.c
315
if (IS_DGFX(xe)) {
drivers/gpu/drm/xe/xe_migrate.c
393
return xe_device_has_flat_ccs(xe) && !(GRAPHICS_VER(xe) >= 20 && IS_DGFX(xe));
drivers/gpu/drm/xe/xe_migrate.c
498
if (IS_DGFX(xe)) {
drivers/gpu/drm/xe/xe_migrate.c
521
if (!IS_DGFX(xe) && xe_device_has_flat_ccs(xe))
drivers/gpu/drm/xe/xe_migrate.c
987
IS_DGFX(xe) ? src_is_vram : src_is_pltt,
drivers/gpu/drm/xe/xe_migrate.c
989
IS_DGFX(xe) ? dst_is_vram : dst_is_pltt,
drivers/gpu/drm/xe/xe_mocs.c
682
if (!IS_DGFX(xe) || GRAPHICS_VER(xe) >= 20)
drivers/gpu/drm/xe/xe_oa.c
2534
else if (!IS_DGFX(gt_to_xe(gt)))
drivers/gpu/drm/xe/xe_oa.c
2558
else if (!IS_DGFX(gt_to_xe(hwe->gt)))
drivers/gpu/drm/xe/xe_pat.c
544
if (IS_DGFX(xe))
drivers/gpu/drm/xe/xe_pat.c
583
WARN_ON_ONCE(!IS_DGFX(xe) && !xe->info.has_llc);
drivers/gpu/drm/xe/xe_pci_sriov.c
145
if (IS_DGFX(xe)) {
drivers/gpu/drm/xe/xe_pcode.c
304
if (!IS_DGFX(xe))
drivers/gpu/drm/xe/xe_pm.c
338
if (IS_DGFX(xe))
drivers/gpu/drm/xe/xe_pt.c
672
return (!IS_DGFX(xe) || (!xe_vm_in_lr_mode(vm) ||
drivers/gpu/drm/xe/xe_pt.c
75
return vm->pt_ops->pte_encode_addr(xe, 0, pat_index, level, IS_DGFX(xe), 0) |
drivers/gpu/drm/xe/xe_query.c
407
if (!IS_DGFX(xe))
drivers/gpu/drm/xe/xe_shrinker.c
171
if (IS_DGFX(xe) || !xe_device_has_flat_ccs(xe) ||
drivers/gpu/drm/xe/xe_sriov_vf_ccs.c
281
return !IS_DGFX(xe) && xe_device_has_flat_ccs(xe);
drivers/gpu/drm/xe/xe_survivability_mode.c
377
if (!IS_DGFX(xe) || IS_SRIOV_VF(xe) || xe->info.platform < XE_BATTLEMAGE)
drivers/gpu/drm/xe/xe_survivability_mode.c
408
if (!IS_DGFX(xe) || IS_SRIOV_VF(xe) || xe->info.platform < XE_BATTLEMAGE) {
drivers/gpu/drm/xe/xe_svm.c
1051
(IS_DGFX(xe) ? XE_BO_FLAG_VRAM(vr) : XE_BO_FLAG_SYSTEM) |
drivers/gpu/drm/xe/xe_svm.c
1121
xe_assert(vm->xe, IS_DGFX(vm->xe));
drivers/gpu/drm/xe/xe_svm.c
1189
int devmem_possible = IS_DGFX(vm->xe) &&
drivers/gpu/drm/xe/xe_svm.c
1419
if (IS_DGFX(vm->xe) && xe_svm_range_in_vram(to_xe_range(range)))
drivers/gpu/drm/xe/xe_svm.c
1581
return IS_DGFX(tile_to_xe(tile)) ? xe_tile_local_pagemap(tile) : NULL;
drivers/gpu/drm/xe/xe_svm.c
1905
if (IS_DGFX(xe)) {
drivers/gpu/drm/xe/xe_tile.c
119
if (!IS_DGFX(xe))
drivers/gpu/drm/xe/xe_tile.c
191
if (IS_DGFX(xe) && !ttm_resource_manager_used(&tile->mem.vram->ttm.manager)) {
drivers/gpu/drm/xe/xe_tile_sriov_pf_debugfs.c
177
if (IS_DGFX(xe))
drivers/gpu/drm/xe/xe_tile_sriov_pf_debugfs.c
196
if (IS_DGFX(xe))
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
226
else if (IS_DGFX(xe))
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
310
XE_WARN_ON(IS_DGFX(xe));
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
57
return GRAPHICS_VERx100(xe) < 1270 && !IS_DGFX(xe);
drivers/gpu/drm/xe/xe_vm.c
1575
if (IS_DGFX(xe) && xe->info.vram_flags & XE_VRAM_FLAGS_NEED64K)
drivers/gpu/drm/xe/xe_vm.c
2354
ctx.devmem_possible = IS_DGFX(vm->xe) &&
drivers/gpu/drm/xe/xe_vm.c
2925
bool devmem_possible = IS_DGFX(vm->xe) && IS_ENABLED(CONFIG_DRM_XE_PAGEMAP);
drivers/gpu/drm/xe/xe_vm.c
4347
if (!IS_DGFX(xe) || !is_atomic)
drivers/gpu/drm/xe/xe_vram.c
270
if (!IS_DGFX(xe))
drivers/gpu/drm/xe/xe_wopcm.c
184
return IS_DGFX(xe) ? DGFX_WOPCM_SIZE :