Home
last modified time | relevance | path

Searched refs:color_adjust (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_mm.c472 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 Ddrm_mm.c469 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 Di915_gem_evict.c255 * 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 Di915_gem_gtt.c1107 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 Di915_gem_evict.c257 * 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 Di915_gem_gtt.c1293 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 Ddrm_mm.h184 * 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 Ddrm_mm.h186 * 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 Dintel_gtt.h364 return i915_is_ggtt(vm) && vm->mm.color_adjust; in i915_vm_has_cache_coloring()
H A Dintel_ggtt.c54 ggtt->vm.mm.color_adjust = i915_ggtt_color_adjust; in ggtt_init_hw()
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
H A Dtest-drm_mm.c2079 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 Dpanfrost_mmu.c574 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 Dintel_gtt.h450 return i915_is_ggtt(vm) && vm->mm.color_adjust; in i915_vm_has_cache_coloring()
H A Dintel_ggtt.c62 ggtt->vm.mm.color_adjust = i915_ggtt_color_adjust; in ggtt_init_hw()
/kernel/linux/linux-6.6/drivers/gpu/drm/tests/
H A Ddrm_mm_test.c1888 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 Dpanfrost_mmu.c621 mmu->mm.color_adjust = panfrost_drm_mm_color_adjust; in panfrost_mmu_ctx_create()

Completed in 23 milliseconds