/linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_vop2_reg.c | 237 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y, 252 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y, 335 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y, 350 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y, 365 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y, 380 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y,
|
H A D | rockchip_drm_vop2.c | 608 (DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y | in vop2_afbc_transform_offset() 610 case DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y: in vop2_afbc_transform_offset() 614 case DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90: in vop2_afbc_transform_offset() 618 case DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_270: in vop2_afbc_transform_offset() 622 case DRM_MODE_REFLECT_X: in vop2_afbc_transform_offset() 1216 bool xmirror = pstate->rotation & DRM_MODE_REFLECT_X ? true : false; in vop2_plane_atomic_update()
|
/linux/drivers/gpu/drm/ |
H A D | drm_rect.c | 258 if (rotation & (DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y)) { in drm_rect_rotate() 261 if (rotation & DRM_MODE_REFLECT_X) { in drm_rect_rotate() 360 if (rotation & (DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y)) { in drm_rect_rotate_inv() 363 if (rotation & DRM_MODE_REFLECT_X) { in drm_rect_rotate_inv()
|
H A 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/drivers/gpu/drm/exynos/ |
H A 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()
|
H A D | exynos_drm_gsc.c | 531 if (rotation & DRM_MODE_REFLECT_X) in gsc_src_set_transf() 538 if (rotation & DRM_MODE_REFLECT_X) in gsc_src_set_transf() 545 if (rotation & DRM_MODE_REFLECT_X) in gsc_src_set_transf() 552 if (rotation & DRM_MODE_REFLECT_X) in gsc_src_set_transf()
|
H A D | exynos_drm_rotator.c | 169 if (rotation & DRM_MODE_REFLECT_X) in rotator_dst_set_transf()
|
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_plane.c | 48 DRM_MODE_REFLECT_X | in mdp5_plane_install_properties() 235 DRM_MODE_REFLECT_X | in mdp5_plane_atomic_check_with_state() 238 if (rotation & DRM_MODE_REFLECT_X) in mdp5_plane_atomic_check_with_state() 938 DRM_MODE_REFLECT_X | in mdp5_plane_mode_set() 940 hflip = !!(rotation & DRM_MODE_REFLECT_X); in mdp5_plane_mode_set()
|
/linux/include/uapi/drm/ |
H A D | drm_mode.h | 204 #define DRM_MODE_REFLECT_X (1<<4) macro 213 DRM_MODE_REFLECT_X | \
|
/linux/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_kms.h | 169 return !!(rotation & DRM_MODE_REFLECT_X); in has_flip_h()
|
/linux/drivers/gpu/drm/stm/ |
H A D | ltdc.c | 1347 if (newstate->rotation & DRM_MODE_REFLECT_X) in ltdc_plane_atomic_update() 1381 if (newstate->rotation & DRM_MODE_REFLECT_X) in ltdc_plane_atomic_update() 1394 if (newstate->rotation & DRM_MODE_REFLECT_X) { in ltdc_plane_atomic_update() 1412 if (newstate->rotation & DRM_MODE_REFLECT_X) { in ltdc_plane_atomic_update() 1469 if (newstate->rotation & DRM_MODE_REFLECT_X) in ltdc_plane_atomic_update() 1644 int supported_rotations = DRM_MODE_ROTATE_0 | DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y; in ltdc_crtc_init()
|
/linux/drivers/gpu/drm/vkms/ |
H A D | vkms_plane.c | 122 DRM_MODE_REFLECT_X | in vkms_plane_atomic_update()
|
H A D | vkms_formats.c | 65 if (frame_info->rotation & (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_270)) in get_x_position()
|
/linux/drivers/gpu/drm/arm/ |
H A 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/drivers/gpu/drm/sprd/ |
H A 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/drivers/gpu/drm/mediatek/ |
H A D | mtk_disp_ovl.c | 337 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y; in mtk_ovl_supported_rotations() 521 if (pending->rotation & DRM_MODE_REFLECT_X) { in mtk_ovl_layer_config()
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_plane_helper_test.c | 158 .rotation = DRM_MODE_ROTATE_90 | DRM_MODE_REFLECT_X,
|
H A D | drm_rect_test.c | 440 .rotation = DRM_MODE_REFLECT_X,
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | skl_universal_plane.c | 1020 case DRM_MODE_REFLECT_X: in icl_plane_ctl_flip() 1629 if (rotation & DRM_MODE_REFLECT_X && in skl_plane_check_fb() 1639 if (rotation & DRM_MODE_REFLECT_X && in skl_plane_check_fb() 1746 rotation == (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90))) { in skl_plane_check_nv12_rotation() 2698 supported_rotations |= DRM_MODE_REFLECT_X; in skl_universal_plane_create() 2877 plane_config->rotation |= DRM_MODE_REFLECT_X; in skl_get_initial_plane_config()
|
H A D | intel_sprite.c | 348 if (rotation & DRM_MODE_REFLECT_X) in vlv_sprite_ctl() 1396 rotation & DRM_MODE_REFLECT_X) { in chv_plane_check_rotation() 1678 DRM_MODE_REFLECT_X; in intel_sprite_plane_create()
|
/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_fb.c | 125 if (drm_rot & DRM_MODE_REFLECT_X) in drm_rotation_to_tiler()
|
H A D | omap_plane.c | 394 DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y); in omap_plane_install_properties()
|
/linux/drivers/gpu/drm/imx/dcss/ |
H A D | dcss-plane.c | 418 DRM_MODE_REFLECT_X | in dcss_plane_init()
|
H A D | dcss-dpr.c | 538 ch->frame_ctrl |= rotation & DRM_MODE_REFLECT_X ? HFLIP_EN : 0; in dcss_dpr_set_rotation()
|
/linux/drivers/gpu/drm/tegra/ |
H A D | dc.c | 624 DRM_MODE_REFLECT_X | in tegra_plane_atomic_check() 680 if (rotation & DRM_MODE_REFLECT_X) in tegra_plane_atomic_check() 848 DRM_MODE_REFLECT_X | in tegra_primary_plane_create() 1302 DRM_MODE_REFLECT_X | in tegra_dc_overlay_plane_create()
|