Home
last modified time | relevance | path

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

12

/Linux-v6.6/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-v6.6/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.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()
517 case DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90: in vop2_afbc_transform_offset()
521 case DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_270: in vop2_afbc_transform_offset()
525 case DRM_MODE_REFLECT_X: in vop2_afbc_transform_offset()
1096 bool xmirror = pstate->rotation & DRM_MODE_REFLECT_X ? true : false; in vop2_plane_atomic_update()
/Linux-v6.6/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-v6.6/drivers/gpu/drm/mediatek/
Dmtk_disp_ovl.c292 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y; in mtk_ovl_supported_rotations()
303 DRM_MODE_REFLECT_X | in mtk_ovl_layer_check()
436 if (pending->rotation & DRM_MODE_REFLECT_X) { in mtk_ovl_layer_config()
/Linux-v6.6/drivers/gpu/drm/arm/display/komeda/
Dkomeda_kms.h169 return !!(rotation & DRM_MODE_REFLECT_X); in has_flip_h()
/Linux-v6.6/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c60 DRM_MODE_REFLECT_X | in mdp5_plane_install_properties()
248 DRM_MODE_REFLECT_X | in mdp5_plane_atomic_check_with_state()
251 if (rotation & DRM_MODE_REFLECT_X) in mdp5_plane_atomic_check_with_state()
950 DRM_MODE_REFLECT_X | in mdp5_plane_mode_set()
952 hflip = !!(rotation & DRM_MODE_REFLECT_X); in mdp5_plane_mode_set()
/Linux-v6.6/include/uapi/drm/
Ddrm_mode.h204 #define DRM_MODE_REFLECT_X (1<<4) macro
213 DRM_MODE_REFLECT_X | \
/Linux-v6.6/drivers/gpu/drm/i915/display/
Di9xx_plane.c218 if (rotation & DRM_MODE_REFLECT_X) in i9xx_plane_ctl()
299 } else if (rotation & DRM_MODE_REFLECT_X) { in i9xx_check_plane_surface()
915 DRM_MODE_REFLECT_X; in intel_primary_plane_create()
1018 plane_config->rotation |= DRM_MODE_REFLECT_X; in i9xx_get_initial_plane_config()
Dskl_universal_plane.c847 case DRM_MODE_REFLECT_X: in icl_plane_ctl_flip()
1361 if (rotation & DRM_MODE_REFLECT_X && in skl_plane_check_fb()
1467 rotation == (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90))) { in skl_plane_check_nv12_rotation()
2343 supported_rotations |= DRM_MODE_REFLECT_X; in skl_universal_plane_create()
2522 plane_config->rotation |= DRM_MODE_REFLECT_X; in skl_get_initial_plane_config()
Dintel_sprite.c327 if (rotation & DRM_MODE_REFLECT_X) in vlv_sprite_ctl()
1345 rotation & DRM_MODE_REFLECT_X) { in chv_plane_check_rotation()
1622 DRM_MODE_REFLECT_X; in intel_sprite_plane_create()
/Linux-v6.6/drivers/gpu/drm/stm/
Dltdc.c1352 if (newstate->rotation & DRM_MODE_REFLECT_X) in ltdc_plane_atomic_update()
1386 if (newstate->rotation & DRM_MODE_REFLECT_X) in ltdc_plane_atomic_update()
1399 if (newstate->rotation & DRM_MODE_REFLECT_X) { in ltdc_plane_atomic_update()
1417 if (newstate->rotation & DRM_MODE_REFLECT_X) { in ltdc_plane_atomic_update()
1474 if (newstate->rotation & DRM_MODE_REFLECT_X) 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-v6.6/drivers/gpu/drm/vkms/
Dvkms_plane.c122 DRM_MODE_REFLECT_X | in vkms_plane_atomic_update()
Dvkms_formats.c49 if (frame_info->rotation & (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_270)) in get_x_position()
/Linux-v6.6/drivers/gpu/drm/arm/
Dmalidp_planes.c371 DRM_MODE_ROTATE_270 | DRM_MODE_REFLECT_X)) in malidp_partial_prefetch_supported()
863 if (new_state->rotation & DRM_MODE_REFLECT_X) in malidp_de_plane_update()
931 DRM_MODE_ROTATE_270 | DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y; in malidp_de_planes_init()
/Linux-v6.6/drivers/gpu/drm/tests/
Ddrm_plane_helper_test.c158 .rotation = DRM_MODE_ROTATE_90 | DRM_MODE_REFLECT_X,
Ddrm_rect_test.c440 .rotation = DRM_MODE_REFLECT_X,
/Linux-v6.6/drivers/gpu/drm/sprd/
Dsprd_dpu.c281 case DRM_MODE_REFLECT_X: in drm_rotation_to_dpu()
284 case (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90): in drm_rotation_to_dpu()
/Linux-v6.6/drivers/gpu/drm/vc4/
Dvc4_plane.c857 DRM_MODE_REFLECT_X | in vc4_plane_mode_set()
1064 (rotation & DRM_MODE_REFLECT_X ? SCALER_CTL0_HFLIP : 0) | in vc4_plane_mode_set()
1124 (rotation & DRM_MODE_REFLECT_X ? in vc4_plane_mode_set()
1663 DRM_MODE_REFLECT_X | in vc4_plane_init()
/Linux-v6.6/drivers/gpu/drm/omapdrm/
Domap_fb.c124 if (drm_rot & DRM_MODE_REFLECT_X) in drm_rotation_to_tiler()
/Linux-v6.6/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()

12