/linux-6.1.9/drivers/gpu/drm/ |
D | drm_rect.c | 259 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()
|
D | drm_blend.c | 281 { __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/ |
D | rockchip_vop2_reg.c | 204 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y, 219 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y,
|
D | rockchip_drm_vop2.c | 509 (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/ |
D | exynos_drm_fimc.c | 432 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()
|
D | exynos_drm_gsc.c | 530 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()
|
D | exynos_drm_rotator.c | 169 if (rotation & DRM_MODE_REFLECT_X) in rotator_dst_set_transf()
|
/linux-6.1.9/drivers/gpu/drm/mediatek/ |
D | mtk_disp_ovl.c | 203 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/ |
D | komeda_kms.h | 167 return !!(rotation & DRM_MODE_REFLECT_X); in has_flip_h()
|
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_plane.c | 60 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/ |
D | drm_mode.h | 204 #define DRM_MODE_REFLECT_X (1<<4) macro 213 DRM_MODE_REFLECT_X | \
|
/linux-6.1.9/drivers/gpu/drm/i915/display/ |
D | i9xx_plane.c | 216 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()
|
D | skl_universal_plane.c | 833 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()
|
D | intel_sprite.c | 391 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/ |
D | ltdc.c | 1351 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/ |
D | malidp_planes.c | 380 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/ |
D | drm_plane_helper_test.c | 116 plane_state.rotation = DRM_MODE_ROTATE_90 | DRM_MODE_REFLECT_X; in drm_test_check_plane_state()
|
D | drm_cmdline_parser_test.c | 640 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/ |
D | vc4_plane.c | 757 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/ |
D | sprd_dpu.c | 284 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/ |
D | omap_fb.c | 124 if (drm_rot & DRM_MODE_REFLECT_X) in drm_rotation_to_tiler()
|
D | omap_plane.c | 394 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y); in omap_plane_install_properties()
|
/linux-6.1.9/drivers/gpu/drm/imx/dcss/ |
D | dcss-plane.c | 418 DRM_MODE_REFLECT_X | in dcss_plane_init()
|
D | dcss-dpr.c | 553 ch->frame_ctrl |= rotation & DRM_MODE_REFLECT_X ? HFLIP_EN : 0; in dcss_dpr_set_rotation()
|
/linux-6.1.9/drivers/gpu/drm/tegra/ |
D | dc.c | 623 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()
|