Home
last modified time | relevance | path

Searched refs:DRM_MODE_ROTATE_MASK (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/gpu/drm/
H A Ddrm_blend.c286 WARN_ON((supported_rotations & DRM_MODE_ROTATE_MASK) == 0); in drm_plane_create_rotation_property()
287 WARN_ON(!is_power_of_2(rotation & DRM_MODE_ROTATE_MASK)); in drm_plane_create_rotation_property()
331 BIT((ffs(rotation & DRM_MODE_ROTATE_MASK) + 1) in drm_rotation_simplify()
H A Ddrm_client_modeset.c969 panel_rot = ilog2(*rotation & DRM_MODE_ROTATE_MASK); in drm_client_rotation()
970 cmdline_rot = ilog2(cmdline->rotation_reflection & DRM_MODE_ROTATE_MASK); in drm_client_rotation()
973 panel_rest = *rotation & ~DRM_MODE_ROTATE_MASK; in drm_client_rotation()
974 cmdline_rest = cmdline->rotation_reflection & ~DRM_MODE_ROTATE_MASK; in drm_client_rotation()
985 if (((*rotation & DRM_MODE_ROTATE_MASK) != DRM_MODE_ROTATE_0 && in drm_client_rotation()
986 (*rotation & DRM_MODE_ROTATE_MASK) != DRM_MODE_ROTATE_180) || in drm_client_rotation()
H A Ddrm_rect.c272 switch (rotation & DRM_MODE_ROTATE_MASK) { in drm_rect_rotate()
332 switch (rotation & DRM_MODE_ROTATE_MASK) { in drm_rect_rotate_inv()
H A Ddrm_modes.c2248 if (!(rotation & DRM_MODE_ROTATE_MASK)) in drm_mode_parse_cmdline_options()
2252 if (!is_power_of_2(rotation & DRM_MODE_ROTATE_MASK)) in drm_mode_parse_cmdline_options()
H A Ddrm_atomic_uapi.c528 if (!is_power_of_2(val & DRM_MODE_ROTATE_MASK)) { in drm_atomic_plane_set_property()
/linux/drivers/gpu/drm/omapdrm/
H A Domap_fb.c109 switch (drm_rot & DRM_MODE_ROTATE_MASK) { in drm_rotation_to_tiler()
193 switch (state->rotation & DRM_MODE_ROTATE_MASK) { in omap_framebuffer_update_scanout()
/linux/drivers/gpu/drm/vkms/
H A Dvkms_plane.c216 DRM_MODE_ROTATE_MASK | DRM_MODE_REFLECT_MASK); in vkms_plane_init()
/linux/drivers/gpu/drm/arm/
H A Dmalidp_planes.c860 if (new_state->rotation & DRM_MODE_ROTATE_MASK) in malidp_de_plane_update()
861 val |= ilog2(plane->state->rotation & DRM_MODE_ROTATE_MASK) << in malidp_de_plane_update()
/linux/include/uapi/drm/
H A Ddrm_mode.h188 #define DRM_MODE_ROTATE_MASK (\ macro
/linux/drivers/gpu/drm/imx/dcss/
H A Ddcss-plane.c117 supported_rotation = DRM_MODE_ROTATE_MASK | in dcss_plane_can_rotate()
/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_fimc.c418 unsigned int degree = rotation & DRM_MODE_ROTATE_MASK; in fimc_src_set_transf()
691 unsigned int degree = rotation & DRM_MODE_ROTATE_MASK; in fimc_dst_set_transf()
H A Dexynos_drm_gsc.c523 unsigned int degree = rotation & DRM_MODE_ROTATE_MASK; in gsc_src_set_transf()
/linux/drivers/gpu/drm/arm/display/komeda/d71/
H A Dd71_dev.c479 #define Rot_ALL_H_V (DRM_MODE_ROTATE_MASK | Flip_H_V)
H A Dd71_component.c132 switch (rot & DRM_MODE_ROTATE_MASK) { in to_rot_ctrl()
462 layer->supported_rots = DRM_MODE_ROTATE_MASK | DRM_MODE_REFLECT_MASK; in d71_layer_init()
/linux/drivers/gpu/drm/sprd/
H A Dsprd_dpu.c558 DRM_MODE_ROTATE_MASK | in sprd_plane_create_properties()
/linux/drivers/gpu/drm/omapdrm/dss/
H A Ddispc.c1737 switch (rotation & DRM_MODE_ROTATE_MASK) { in dispc_ovl_set_accu_uv()
1893 if ((rotation & DRM_MODE_ROTATE_MASK) != DRM_MODE_ROTATE_0) in dispc_ovl_set_scaling_uv()
1952 switch (rotation & DRM_MODE_ROTATE_MASK) { in dispc_ovl_set_rotation_attrs()
1967 switch (rotation & DRM_MODE_ROTATE_MASK) { in dispc_ovl_set_rotation_attrs()
/linux/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_plane.c757 switch (hstate->base.rotation & DRM_MODE_ROTATE_MASK) { in atmel_hlcdc_plane_atomic_check()
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_plane.c1495 supported_rotations |= DRM_MODE_ROTATE_MASK; in dpu_plane_init()
/linux/drivers/gpu/drm/i915/display/
H A Dskl_universal_plane.c1095 plane_ctl |= skl_plane_ctl_rotate(rotation & DRM_MODE_ROTATE_MASK); in skl_plane_ctl()