/Linux-v6.6/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-v6.6/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 | 511 (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/ |
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-v6.6/drivers/gpu/drm/mediatek/ |
D | mtk_disp_ovl.c | 292 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/ |
D | komeda_kms.h | 169 return !!(rotation & DRM_MODE_REFLECT_X); in has_flip_h()
|
/Linux-v6.6/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_plane.c | 60 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/ |
D | drm_mode.h | 204 #define DRM_MODE_REFLECT_X (1<<4) macro 213 DRM_MODE_REFLECT_X | \
|
/Linux-v6.6/drivers/gpu/drm/i915/display/ |
D | i9xx_plane.c | 218 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()
|
D | skl_universal_plane.c | 847 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()
|
D | intel_sprite.c | 327 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/ |
D | ltdc.c | 1352 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/ |
D | vkms_plane.c | 122 DRM_MODE_REFLECT_X | in vkms_plane_atomic_update()
|
D | vkms_formats.c | 49 if (frame_info->rotation & (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_270)) in get_x_position()
|
/Linux-v6.6/drivers/gpu/drm/arm/ |
D | malidp_planes.c | 371 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/ |
D | drm_plane_helper_test.c | 158 .rotation = DRM_MODE_ROTATE_90 | DRM_MODE_REFLECT_X,
|
D | drm_rect_test.c | 440 .rotation = DRM_MODE_REFLECT_X,
|
/Linux-v6.6/drivers/gpu/drm/sprd/ |
D | sprd_dpu.c | 281 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/ |
D | vc4_plane.c | 857 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/ |
D | omap_fb.c | 124 if (drm_rot & DRM_MODE_REFLECT_X) in drm_rotation_to_tiler()
|
/Linux-v6.6/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()
|