/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_mm.c | 472 if (mm->color_adjust) in drm_mm_reserve_node() 473 mm->color_adjust(hole, node->color, &adj_start, &adj_end); in drm_mm_reserve_node() 559 if (mm->color_adjust) in drm_mm_insert_node_in_range() 560 mm->color_adjust(hole, color, &col_start, &col_end); in drm_mm_insert_node_in_range() 812 if (mm->color_adjust) in drm_mm_scan_add_block() 813 mm->color_adjust(hole, scan->color, &col_start, &col_end); in drm_mm_scan_add_block() 910 * mm.color_adjust is being used. 923 if (!mm->color_adjust) in drm_mm_scan_color_evict() 948 mm->color_adjust(hole, scan->color, &hole_start, &hole_end); in drm_mm_scan_color_evict() 970 mm->color_adjust in drm_mm_init() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_mm.c | 469 if (mm->color_adjust) in drm_mm_reserve_node() 470 mm->color_adjust(hole, node->color, &adj_start, &adj_end); in drm_mm_reserve_node() 556 if (mm->color_adjust) in drm_mm_insert_node_in_range() 557 mm->color_adjust(hole, color, &col_start, &col_end); in drm_mm_insert_node_in_range() 809 if (mm->color_adjust) in drm_mm_scan_add_block() 810 mm->color_adjust(hole, scan->color, &col_start, &col_end); in drm_mm_scan_add_block() 907 * mm.color_adjust is being used. 920 if (!mm->color_adjust) in drm_mm_scan_color_evict() 945 mm->color_adjust(hole, scan->color, &hole_start, &hole_end); in drm_mm_scan_color_evict() 967 mm->color_adjust in drm_mm_init() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
H A D | i915_gem_evict.c | 255 * Currently the use of color_adjust for the GGTT is limited to cache in igt_evict_for_cache_color() 256 * coloring and guard pages, and so the presence of mm.color_adjust for in igt_evict_for_cache_color() 260 ggtt->vm.mm.color_adjust = mock_color_adjust; in igt_evict_for_cache_color() 326 ggtt->vm.mm.color_adjust = NULL; in igt_evict_for_cache_color()
|
H A D | i915_gem_gtt.c | 1107 if (ggtt->vm.mm.color_adjust) in exercise_ggtt() 1108 ggtt->vm.mm.color_adjust(node, 0, in exercise_ggtt()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/ |
H A D | i915_gem_evict.c | 257 * Currently the use of color_adjust for the GGTT is limited to cache in igt_evict_for_cache_color() 258 * coloring and guard pages, and so the presence of mm.color_adjust for in igt_evict_for_cache_color() 262 ggtt->vm.mm.color_adjust = mock_color_adjust; in igt_evict_for_cache_color() 328 ggtt->vm.mm.color_adjust = NULL; in igt_evict_for_cache_color()
|
H A D | i915_gem_gtt.c | 1293 if (ggtt->vm.mm.color_adjust) in exercise_ggtt() 1294 ggtt->vm.mm.color_adjust(node, 0, in exercise_ggtt()
|
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_mm.h | 184 * managing GPU memory. Except for the @color_adjust callback the structure is 190 * @color_adjust: 198 void (*color_adjust)(const struct drm_mm_node *node, member
|
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_mm.h | 186 * managing GPU memory. Except for the @color_adjust callback the structure is 192 * @color_adjust: 200 void (*color_adjust)(const struct drm_mm_node *node, member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | intel_gtt.h | 364 return i915_is_ggtt(vm) && vm->mm.color_adjust; in i915_vm_has_cache_coloring()
|
H A D | intel_ggtt.c | 54 ggtt->vm.mm.color_adjust = i915_ggtt_color_adjust; in ggtt_init_hw()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/ |
H A D | test-drm_mm.c | 2079 mm.color_adjust = separate_adjacent_colors; in igt_color() 2271 * choosing its victims to create a hole. Our color_adjust does not in igt_color_evict() 2287 mm.color_adjust = separate_adjacent_colors; in igt_color_evict() 2388 mm.color_adjust = separate_adjacent_colors; in igt_color_evict_range()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/ |
H A D | panfrost_mmu.c | 574 mmu->mm.color_adjust = panfrost_drm_mm_color_adjust; in panfrost_mmu_ctx_create()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_gtt.h | 450 return i915_is_ggtt(vm) && vm->mm.color_adjust; in i915_vm_has_cache_coloring()
|
H A D | intel_ggtt.c | 62 ggtt->vm.mm.color_adjust = i915_ggtt_color_adjust; in ggtt_init_hw()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tests/ |
H A D | drm_mm_test.c | 1888 mm.color_adjust = separate_adjacent_colors; in drm_test_mm_color() 2057 * choosing its victims to create a hole. Our color_adjust does not in drm_test_mm_color_evict() 2070 mm.color_adjust = separate_adjacent_colors; in drm_test_mm_color_evict() 2152 mm.color_adjust = separate_adjacent_colors; in drm_test_mm_color_evict_range()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/panfrost/ |
H A D | panfrost_mmu.c | 621 mmu->mm.color_adjust = panfrost_drm_mm_color_adjust; in panfrost_mmu_ctx_create()
|