Home
last modified time | relevance | path

Searched refs:rotated (Results 1 – 12 of 12) sorted by relevance

/drivers/gpu/drm/i915/selftests/
Di915_vma.c524 view.rotated.plane[0] = *a; in igt_vma_rotate_remap()
525 view.rotated.plane[1] = *b; in igt_vma_rotate_remap()
527 for_each_prime_number_from(view.rotated.plane[0].offset, 0, max_offset) { in igt_vma_rotate_remap()
528 for_each_prime_number_from(view.rotated.plane[1].offset, 0, max_offset) { in igt_vma_rotate_remap()
581 for (n = 0; n < ARRAY_SIZE(view.rotated.plane); n++) { in igt_vma_rotate_remap()
583 sg = assert_rotated(obj, &view.rotated, n, sg); in igt_vma_rotate_remap()
590 view.rotated.plane[0].width, in igt_vma_rotate_remap()
591 view.rotated.plane[0].height, in igt_vma_rotate_remap()
592 view.rotated.plane[0].stride, in igt_vma_rotate_remap()
593 view.rotated.plane[0].offset, in igt_vma_rotate_remap()
[all …]
/drivers/gpu/drm/arm/
Dmalidp_hw.h328 static inline u8 malidp_hw_get_pitch_align(struct malidp_hw_device *hwdev, bool rotated) in malidp_hw_get_pitch_align() argument
337 return hwdev->hw->map.bus_align_bytes << (rotated ? 2 : 0); in malidp_hw_get_pitch_align()
Dmalidp_planes.c509 bool rotated = state->rotation & MALIDP_ROTATED_MASK; in malidp_de_plane_check() local
528 u8 alignment = malidp_hw_get_pitch_align(mp->hwdev, rotated); in malidp_de_plane_check()
/drivers/gpu/drm/i915/
Di915_vma.h289 BUILD_BUG_ON(offsetof(typeof(*view), rotated) != in i915_vma_compare()
291 BUILD_BUG_ON(offsetof(typeof(*view), rotated) != in i915_vma_compare()
Di915_debugfs.c186 vma->ggtt_view.rotated.plane[0].width, in describe_obj()
187 vma->ggtt_view.rotated.plane[0].height, in describe_obj()
188 vma->ggtt_view.rotated.plane[0].stride, in describe_obj()
189 vma->ggtt_view.rotated.plane[0].offset, in describe_obj()
190 vma->ggtt_view.rotated.plane[1].width, in describe_obj()
191 vma->ggtt_view.rotated.plane[1].height, in describe_obj()
192 vma->ggtt_view.rotated.plane[1].stride, in describe_obj()
193 vma->ggtt_view.rotated.plane[1].offset); in describe_obj()
Di915_gem_gtt.h210 struct intel_rotation_info rotated; member
Di915_vma.c143 vma->size = intel_rotation_info_size(&view->rotated); in vma_create()
Di915_gem_gtt.c3583 intel_rotate_pages(&vma->ggtt_view.rotated, vma->obj); in i915_get_ggtt_vma_pages()
/drivers/gpu/drm/i915/display/
Dintel_sprite.c290 bool rotated = drm_rotation_90_or_270(plane_state->base.rotation); in intel_plane_check_src_coordinates() local
312 if (!rotated) { in intel_plane_check_src_coordinates()
321 src_x, src_w, hsub, rotated ? "rotated " : ""); in intel_plane_check_src_coordinates()
327 src_y, src_h, vsub, rotated ? "rotated " : ""); in intel_plane_check_src_coordinates()
Dintel_display_types.h98 } rotated[2]; member
Dintel_display.c2002 view->rotated = to_intel_framebuffer(fb)->rot_info; in intel_fill_fb_ggtt_view()
2179 return to_intel_framebuffer(fb)->rotated[color_plane].pitch; in intel_fb_pitch()
2729 intel_fb->rotated[i].pitch = in intel_fill_fb_info()
2754 pitch_tiles = intel_fb->rotated[i].pitch / tile_height; in intel_fill_fb_info()
2772 intel_fb->rotated[i].x = x; in intel_fill_fb_info()
2773 intel_fb->rotated[i].y = y; in intel_fill_fb_info()
2799 struct intel_rotation_info *info = &plane_state->view.rotated; in intel_plane_remap_gtt()
2937 plane_state->color_plane[i].x = fb->rotated[i].x; in intel_plane_compute_gtt()
2938 plane_state->color_plane[i].y = fb->rotated[i].y; in intel_plane_compute_gtt()
/drivers/platform/x86/
DKconfig1098 This switch is triggered as the screen is rotated and folded down to