Home
last modified time | relevance | path

Searched refs:DRM_MODE_REFLECT_Y (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.6.21/drivers/gpu/drm/rockchip/
Drockchip_vop2_reg.c151 .supported_rotations = DRM_MODE_REFLECT_Y,
164 .supported_rotations = DRM_MODE_REFLECT_Y,
177 .supported_rotations = DRM_MODE_REFLECT_Y,
190 .supported_rotations = DRM_MODE_REFLECT_Y,
204 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y,
219 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y,
Drockchip_drm_vop2.c511 (DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y | in vop2_afbc_transform_offset()
513 case DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y: in vop2_afbc_transform_offset()
529 case DRM_MODE_REFLECT_Y: in vop2_afbc_transform_offset()
1097 bool ymirror = pstate->rotation & DRM_MODE_REFLECT_Y ? true : false; in vop2_plane_atomic_update()
1126 else if (pstate->rotation & DRM_MODE_REFLECT_Y) in vop2_plane_atomic_update()
1141 if ((pstate->rotation & DRM_MODE_REFLECT_Y) && !afbc_en) in vop2_plane_atomic_update()
Drockchip_drm_vop.c847 if (fb->format->is_yuv && new_plane_state->rotation & DRM_MODE_REFLECT_Y) { in vop_plane_atomic_check()
963 if (new_state->rotation & DRM_MODE_REFLECT_Y) in vop_plane_atomic_update()
985 (new_state->rotation & DRM_MODE_REFLECT_Y) ? 1 : 0); in vop_plane_atomic_update()
1834 flags |= VOP_WIN_HAS_REG(win_data, y_mir_en) ? DRM_MODE_REFLECT_Y : 0; in vop_plane_add_properties()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_rect.c259 if (rotation & (DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y)) { in drm_rect_rotate()
267 if (rotation & DRM_MODE_REFLECT_Y) { in drm_rect_rotate()
361 if (rotation & (DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y)) { in drm_rect_rotate_inv()
369 if (rotation & DRM_MODE_REFLECT_Y) { in drm_rect_rotate_inv()
Ddrm_blend.c282 { __builtin_ffs(DRM_MODE_REFLECT_Y) - 1, "reflect-y" }, in drm_plane_create_rotation_property()
329 rotation ^= DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y; in drm_rotation_simplify()
/linux-6.6.21/drivers/gpu/drm/exynos/
Dexynos_drm_fimc.c434 if (rotation & DRM_MODE_REFLECT_Y) in fimc_src_set_transf()
441 if (rotation & DRM_MODE_REFLECT_Y) in fimc_src_set_transf()
449 if (rotation & DRM_MODE_REFLECT_Y) in fimc_src_set_transf()
458 if (rotation & DRM_MODE_REFLECT_Y) in fimc_src_set_transf()
704 if (rotation & DRM_MODE_REFLECT_Y) in fimc_dst_set_transf()
711 if (rotation & DRM_MODE_REFLECT_Y) in fimc_dst_set_transf()
719 if (rotation & DRM_MODE_REFLECT_Y) in fimc_dst_set_transf()
728 if (rotation & DRM_MODE_REFLECT_Y) in fimc_dst_set_transf()
Dexynos_drm_gsc.c532 if (rotation & DRM_MODE_REFLECT_Y) in gsc_src_set_transf()
539 if (rotation & DRM_MODE_REFLECT_Y) in gsc_src_set_transf()
546 if (rotation & DRM_MODE_REFLECT_Y) in gsc_src_set_transf()
553 if (rotation & DRM_MODE_REFLECT_Y) in gsc_src_set_transf()
Dexynos_drm_rotator.c171 if (rotation & DRM_MODE_REFLECT_Y) in rotator_dst_set_transf()
Dexynos_drm_scaler.c298 if (rotation & DRM_MODE_REFLECT_Y) in scaler_set_rotation()
/linux-6.6.21/drivers/gpu/drm/mediatek/
Dmtk_disp_ovl.c292 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y; in mtk_ovl_supported_rotations()
304 DRM_MODE_REFLECT_Y); in mtk_ovl_layer_check()
431 if (pending->rotation & DRM_MODE_REFLECT_Y) { in mtk_ovl_layer_config()
/linux-6.6.21/drivers/gpu/drm/arm/display/komeda/
Dkomeda_kms.h167 return !!(rotation & DRM_MODE_REFLECT_Y); in has_flip_h()
/linux-6.6.21/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c61 DRM_MODE_REFLECT_Y); in mdp5_plane_install_properties()
249 DRM_MODE_REFLECT_Y); in mdp5_plane_atomic_check_with_state()
254 if (rotation & DRM_MODE_REFLECT_Y) in mdp5_plane_atomic_check_with_state()
951 DRM_MODE_REFLECT_Y); in mdp5_plane_mode_set()
953 vflip = !!(rotation & DRM_MODE_REFLECT_Y); in mdp5_plane_mode_set()
/linux-6.6.21/include/uapi/drm/
Ddrm_mode.h205 #define DRM_MODE_REFLECT_Y (1<<5) macro
214 DRM_MODE_REFLECT_Y)
/linux-6.6.21/drivers/gpu/drm/vc4/
Dvc4_plane.c858 DRM_MODE_REFLECT_Y); in vc4_plane_mode_set()
862 if (rotation & DRM_MODE_REFLECT_Y) in vc4_plane_mode_set()
923 if (rotation & DRM_MODE_REFLECT_Y) { in vc4_plane_mode_set()
1065 (rotation & DRM_MODE_REFLECT_Y ? SCALER_CTL0_VFLIP : 0) | in vc4_plane_mode_set()
1120 (rotation & DRM_MODE_REFLECT_Y ? in vc4_plane_mode_set()
1664 DRM_MODE_REFLECT_Y); in vc4_plane_init()
/linux-6.6.21/drivers/gpu/drm/stm/
Dltdc.c1355 if (newstate->rotation & DRM_MODE_REFLECT_Y) in ltdc_plane_atomic_update()
1365 if (newstate->rotation & DRM_MODE_REFLECT_Y) in ltdc_plane_atomic_update()
1389 if (newstate->rotation & DRM_MODE_REFLECT_Y) in ltdc_plane_atomic_update()
1404 if (newstate->rotation & DRM_MODE_REFLECT_Y) { in ltdc_plane_atomic_update()
1422 if (newstate->rotation & DRM_MODE_REFLECT_Y) { in ltdc_plane_atomic_update()
1437 if (newstate->rotation & DRM_MODE_REFLECT_Y) in ltdc_plane_atomic_update()
1659 int supported_rotations = DRM_MODE_ROTATE_0 | DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y; in ltdc_crtc_init()
/linux-6.6.21/drivers/gpu/drm/vkms/
Dvkms_plane.c123 DRM_MODE_REFLECT_Y); in vkms_plane_atomic_update()
Dvkms_composer.c60 if (frame_info->rotation & DRM_MODE_REFLECT_Y) in get_y_pos()
/linux-6.6.21/drivers/gpu/drm/sprd/
Dsprd_dpu.c275 case DRM_MODE_REFLECT_Y: in drm_rotation_to_dpu()
278 case (DRM_MODE_REFLECT_Y | DRM_MODE_ROTATE_90): in drm_rotation_to_dpu()
/linux-6.6.21/drivers/gpu/drm/arm/
Dmalidp_planes.c865 if (new_state->rotation & DRM_MODE_REFLECT_Y) in malidp_de_plane_update()
931 DRM_MODE_ROTATE_270 | DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y; in malidp_de_planes_init()
/linux-6.6.21/drivers/gpu/drm/omapdrm/
Domap_fb.c127 if (drm_rot & DRM_MODE_REFLECT_Y) in drm_rotation_to_tiler()
Domap_plane.c394 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y); in omap_plane_install_properties()
/linux-6.6.21/drivers/gpu/drm/tegra/
Ddc.c625 DRM_MODE_REFLECT_Y; in tegra_plane_atomic_check()
676 rotation |= DRM_MODE_REFLECT_Y; in tegra_plane_atomic_check()
685 if (rotation & DRM_MODE_REFLECT_Y) in tegra_plane_atomic_check()
849 DRM_MODE_REFLECT_Y); in tegra_primary_plane_create()
1303 DRM_MODE_REFLECT_Y); in tegra_dc_overlay_plane_create()
/linux-6.6.21/drivers/gpu/drm/imx/dcss/
Ddcss-plane.c419 DRM_MODE_REFLECT_Y); in dcss_plane_init()
Ddcss-dpr.c554 ch->frame_ctrl |= rotation & DRM_MODE_REFLECT_Y ? VFLIP_EN : 0; in dcss_dpr_set_rotation()
/linux-6.6.21/drivers/gpu/drm/tests/
Ddrm_rect_test.c447 .rotation = DRM_MODE_REFLECT_Y,

12