Home
last modified time | relevance | path

Searched refs:DRM_MODE_REFLECT_X (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.1.9/drivers/gpu/drm/
Ddrm_rect.c259 if (rotation & (DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y)) { in drm_rect_rotate()
262 if (rotation & DRM_MODE_REFLECT_X) { in drm_rect_rotate()
361 if (rotation & (DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y)) { in drm_rect_rotate_inv()
364 if (rotation & DRM_MODE_REFLECT_X) { in drm_rect_rotate_inv()
Ddrm_blend.c281 { __builtin_ffs(DRM_MODE_REFLECT_X) - 1, "reflect-x" }, in drm_plane_create_rotation_property()
329 rotation ^= DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y; in drm_rotation_simplify()
/linux-6.1.9/drivers/gpu/drm/rockchip/
Drockchip_vop2_reg.c204 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y,
219 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y,
Drockchip_drm_vop2.c509 (DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y | in vop2_afbc_transform_offset()
511 case DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y: in vop2_afbc_transform_offset()
515 case DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90: in vop2_afbc_transform_offset()
519 case DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_270: in vop2_afbc_transform_offset()
523 case DRM_MODE_REFLECT_X: in vop2_afbc_transform_offset()
1090 bool xmirror = pstate->rotation & DRM_MODE_REFLECT_X ? true : false; in vop2_plane_atomic_update()
/linux-6.1.9/drivers/gpu/drm/exynos/
Dexynos_drm_fimc.c432 if (rotation & DRM_MODE_REFLECT_X) in fimc_src_set_transf()
439 if (rotation & DRM_MODE_REFLECT_X) in fimc_src_set_transf()
447 if (rotation & DRM_MODE_REFLECT_X) in fimc_src_set_transf()
456 if (rotation & DRM_MODE_REFLECT_X) in fimc_src_set_transf()
702 if (rotation & DRM_MODE_REFLECT_X) in fimc_dst_set_transf()
709 if (rotation & DRM_MODE_REFLECT_X) in fimc_dst_set_transf()
717 if (rotation & DRM_MODE_REFLECT_X) in fimc_dst_set_transf()
726 if (rotation & DRM_MODE_REFLECT_X) in fimc_dst_set_transf()
Dexynos_drm_gsc.c530 if (rotation & DRM_MODE_REFLECT_X) in gsc_src_set_transf()
537 if (rotation & DRM_MODE_REFLECT_X) in gsc_src_set_transf()
544 if (rotation & DRM_MODE_REFLECT_X) in gsc_src_set_transf()
551 if (rotation & DRM_MODE_REFLECT_X) in gsc_src_set_transf()
Dexynos_drm_rotator.c169 if (rotation & DRM_MODE_REFLECT_X) in rotator_dst_set_transf()
/linux-6.1.9/drivers/gpu/drm/mediatek/
Dmtk_disp_ovl.c203 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y; in mtk_ovl_supported_rotations()
214 DRM_MODE_REFLECT_X | in mtk_ovl_layer_check()
333 if (pending->rotation & DRM_MODE_REFLECT_X) { in mtk_ovl_layer_config()
/linux-6.1.9/drivers/gpu/drm/arm/display/komeda/
Dkomeda_kms.h167 return !!(rotation & DRM_MODE_REFLECT_X); in has_flip_h()
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c60 DRM_MODE_REFLECT_X | in mdp5_plane_install_properties()
249 DRM_MODE_REFLECT_X | in mdp5_plane_atomic_check_with_state()
252 if (rotation & DRM_MODE_REFLECT_X) in mdp5_plane_atomic_check_with_state()
951 DRM_MODE_REFLECT_X | in mdp5_plane_mode_set()
953 hflip = !!(rotation & DRM_MODE_REFLECT_X); in mdp5_plane_mode_set()
/linux-6.1.9/include/uapi/drm/
Ddrm_mode.h204 #define DRM_MODE_REFLECT_X (1<<4) macro
213 DRM_MODE_REFLECT_X | \
/linux-6.1.9/drivers/gpu/drm/i915/display/
Di9xx_plane.c216 if (rotation & DRM_MODE_REFLECT_X) in i9xx_plane_ctl()
297 } else if (rotation & DRM_MODE_REFLECT_X) { in i9xx_check_plane_surface()
913 DRM_MODE_REFLECT_X; in intel_primary_plane_create()
1016 plane_config->rotation |= DRM_MODE_REFLECT_X; in i9xx_get_initial_plane_config()
Dskl_universal_plane.c833 case DRM_MODE_REFLECT_X: in icl_plane_ctl_flip()
1345 if (rotation & DRM_MODE_REFLECT_X && in skl_plane_check_fb()
1451 rotation == (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90))) { in skl_plane_check_nv12_rotation()
2322 supported_rotations |= DRM_MODE_REFLECT_X; in skl_universal_plane_create()
2490 plane_config->rotation |= DRM_MODE_REFLECT_X; in skl_get_initial_plane_config()
Dintel_sprite.c391 if (rotation & DRM_MODE_REFLECT_X) in vlv_sprite_ctl()
1408 rotation & DRM_MODE_REFLECT_X) { in chv_plane_check_rotation()
1803 DRM_MODE_REFLECT_X; in intel_sprite_plane_create()
/linux-6.1.9/drivers/gpu/drm/stm/
Dltdc.c1351 if (newstate->rotation & DRM_MODE_REFLECT_X) in ltdc_plane_atomic_update()
1385 if (newstate->rotation & DRM_MODE_REFLECT_X) in ltdc_plane_atomic_update()
1398 if (newstate->rotation & DRM_MODE_REFLECT_X) { in ltdc_plane_atomic_update()
1416 if (newstate->rotation & DRM_MODE_REFLECT_X) { in ltdc_plane_atomic_update()
1473 if (newstate->rotation & DRM_MODE_REFLECT_X) in ltdc_plane_atomic_update()
1658 int supported_rotations = DRM_MODE_ROTATE_0 | DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y; in ltdc_crtc_init()
/linux-6.1.9/drivers/gpu/drm/arm/
Dmalidp_planes.c380 DRM_MODE_ROTATE_270 | DRM_MODE_REFLECT_X)) in malidp_partial_prefetch_supported()
872 if (new_state->rotation & DRM_MODE_REFLECT_X) in malidp_de_plane_update()
940 DRM_MODE_ROTATE_270 | DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y; in malidp_de_planes_init()
/linux-6.1.9/drivers/gpu/drm/tests/
Ddrm_plane_helper_test.c116 plane_state.rotation = DRM_MODE_ROTATE_90 | DRM_MODE_REFLECT_X; in drm_test_check_plane_state()
Ddrm_cmdline_parser_test.c640 KUNIT_EXPECT_EQ(test, mode.rotation_reflection, (DRM_MODE_ROTATE_0 | DRM_MODE_REFLECT_X)); in drm_test_cmdline_hmirror()
713 KUNIT_EXPECT_EQ(test, mode.rotation_reflection, (DRM_MODE_ROTATE_270 | DRM_MODE_REFLECT_X)); in drm_test_cmdline_multiple_options()
/linux-6.1.9/drivers/gpu/drm/vc4/
Dvc4_plane.c757 DRM_MODE_REFLECT_X | in vc4_plane_mode_set()
964 (rotation & DRM_MODE_REFLECT_X ? SCALER_CTL0_HFLIP : 0) | in vc4_plane_mode_set()
1029 (rotation & DRM_MODE_REFLECT_X ? in vc4_plane_mode_set()
1559 DRM_MODE_REFLECT_X | in vc4_plane_init()
/linux-6.1.9/drivers/gpu/drm/sprd/
Dsprd_dpu.c284 case DRM_MODE_REFLECT_X: in drm_rotation_to_dpu()
287 case (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90): in drm_rotation_to_dpu()
/linux-6.1.9/drivers/gpu/drm/omapdrm/
Domap_fb.c124 if (drm_rot & DRM_MODE_REFLECT_X) in drm_rotation_to_tiler()
Domap_plane.c394 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y); in omap_plane_install_properties()
/linux-6.1.9/drivers/gpu/drm/imx/dcss/
Ddcss-plane.c418 DRM_MODE_REFLECT_X | in dcss_plane_init()
Ddcss-dpr.c553 ch->frame_ctrl |= rotation & DRM_MODE_REFLECT_X ? HFLIP_EN : 0; in dcss_dpr_set_rotation()
/linux-6.1.9/drivers/gpu/drm/tegra/
Ddc.c623 DRM_MODE_REFLECT_X | in tegra_plane_atomic_check()
679 if (rotation & DRM_MODE_REFLECT_X) in tegra_plane_atomic_check()
847 DRM_MODE_REFLECT_X | in tegra_primary_plane_create()
1301 DRM_MODE_REFLECT_X | in tegra_dc_overlay_plane_create()

12