/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_clflush.c | 55 GEM_BUG_ON(!obj->cache_dirty); in clflush_work_create() 81 WARN_ON_ONCE(obj->cache_dirty); in i915_gem_clflush_object() 93 obj->cache_dirty = false; in i915_gem_clflush_object() 127 * flush-on-acquire, hence resetting cache_dirty here should be in i915_gem_clflush_object() 130 obj->cache_dirty = false; in i915_gem_clflush_object() 133 obj->cache_dirty = false; in i915_gem_clflush_object()
|
H A D | i915_gem_domain.c | 45 if (obj->cache_dirty) in i915_gem_cpu_write_needs_clflush() 88 obj->cache_dirty = true; in flush_write_domain() 102 if (obj->cache_dirty) in __i915_gem_object_flush_for_display() 293 obj->cache_dirty = true; in i915_gem_object_set_cache_level() 710 if (!obj->cache_dirty && in i915_gem_object_prepare_read() 761 if (!obj->cache_dirty) { in i915_gem_object_prepare_write()
|
H A D | i915_gem_pages.c | 32 if (obj->cache_dirty) { in __i915_gem_object_set_pages() 37 obj->cache_dirty = false; in __i915_gem_object_set_pages() 495 obj->cache_dirty = false; in __i915_gem_object_flush_map()
|
H A D | i915_gem_object_types.h | 436 * @cache_dirty clean, so we can potentially avoid stalling when 477 * @cache_dirty: 480 * the use of @cache_dirty is limited to the objects created by kernel 485 * assume @cache_dirty is set as describe here. Also see helper function 497 * Another part of @cache_dirty is managing flushing when first 526 * is dma-buf, which doesn't rely on @cache_dirty, but there we 531 * 2. All I915_CACHE_NONE objects have @cache_dirty initially true. 533 * 3. All swapped-out objects(i.e shmem) have @cache_dirty set to 536 * 4. The @cache_dirty is never freely reset before the initial 540 * 5. All @cache_dirty object 546 unsigned int cache_dirty:1; global() member [all...] |
H A D | i915_gem_shmem.c | 261 obj->cache_dirty = true; in shmem_get_pages() 393 obj->cache_dirty = true; in __i915_gem_object_release_shmem()
|
H A D | i915_gem_object.c | 164 obj->cache_dirty = in i915_gem_object_set_cache_coherency() 195 obj->cache_dirty = in i915_gem_object_set_pat_index()
|
H A D | i915_gem_userptr.c | 174 obj->cache_dirty = true; in i915_gem_userptr_get_pages()
|
H A D | i915_gem_object.h | 796 obj->cache_dirty = true; in __start_cpu_write()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_clflush.c | 60 GEM_BUG_ON(!obj->cache_dirty); in clflush_work_create() 87 obj->cache_dirty = false; in i915_gem_clflush_object() 121 obj->cache_dirty = false; in i915_gem_clflush_object()
|
H A D | i915_gem_domain.c | 25 if (obj->cache_dirty) in __i915_gem_object_flush_for_display() 209 obj->cache_dirty = true; in i915_gem_object_set_cache_level() 584 if (!obj->cache_dirty && in i915_gem_object_prepare_read() 635 if (!obj->cache_dirty) { in i915_gem_object_prepare_write()
|
H A D | i915_gem_pages.c | 29 if (obj->cache_dirty) { in __i915_gem_object_set_pages() 33 obj->cache_dirty = false; in __i915_gem_object_set_pages() 431 obj->cache_dirty = false; in __i915_gem_object_flush_map()
|
H A D | i915_gem_client_blt.c | 169 if (obj->cache_dirty) { in clear_pages_worker() 172 obj->cache_dirty = false; in clear_pages_worker()
|
H A D | i915_gem_object.c | 100 obj->cache_dirty = in i915_gem_object_set_cache_coherency() 344 obj->cache_dirty = true; in i915_gem_object_flush_write_domain()
|
H A D | i915_gem_object_types.h | 172 unsigned int cache_dirty:1; member
|
H A D | i915_gem_object.h | 481 if (obj->cache_dirty) in cpu_write_needs_clflush() 496 obj->cache_dirty = true; in __start_cpu_write()
|
H A D | i915_gem_object_blt.c | 139 if (obj->cache_dirty & ~obj->cache_coherent) in move_obj_to_gpu()
|
/kernel/linux/linux-5.10/drivers/base/regmap/ |
H A D | regcache.c | 359 if (!map->cache_dirty) in regcache_sync() 382 map->cache_dirty = false; in regcache_sync() 433 if (!map->cache_dirty) in regcache_sync_region() 527 map->cache_dirty = true; in regcache_mark_dirty()
|
H A D | internal.h | 142 bool cache_dirty; member
|
H A D | regmap-debugfs.c | 632 debugfs_create_bool("cache_dirty", 0400, map->debugfs, in regmap_debugfs_init() 633 &map->cache_dirty); in regmap_debugfs_init()
|
/kernel/linux/linux-6.6/drivers/base/regmap/ |
H A D | regcache.c | 374 if (!map->cache_dirty) in regcache_sync() 395 map->cache_dirty = false; in regcache_sync() 468 if (!map->cache_dirty) in regcache_sync_region() 563 map->cache_dirty = true; in regcache_mark_dirty()
|
H A D | internal.h | 155 bool cache_dirty; member
|
H A D | regmap.c | 1640 map->cache_dirty = true; in _regmap_raw_write_impl() 1912 map->cache_dirty = true; in _regmap_write() 2103 map->cache_dirty = true; in regmap_noinc_readwrite() 2561 map->cache_dirty = true; in _regmap_multi_reg_write()
|
H A D | regmap-debugfs.c | 632 debugfs_create_bool("cache_dirty", 0400, map->debugfs, in regmap_debugfs_init() 633 &map->cache_dirty); in regmap_debugfs_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_object_blt.c | 279 obj->cache_dirty = true; in igt_fill_blt_thread() 395 src->cache_dirty = true; in igt_copy_blt_thread() 413 dst->cache_dirty = true; in igt_copy_blt_thread()
|
H A D | i915_gem_client_blt.c | 70 obj->cache_dirty = true; in __igt_client_fill()
|