Searched refs:DRM_MODE_ROTATE_MASK (Results 1 – 19 of 19) sorted by relevance
286 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()
969 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()
272 switch (rotation & DRM_MODE_ROTATE_MASK) { in drm_rect_rotate()332 switch (rotation & DRM_MODE_ROTATE_MASK) { in drm_rect_rotate_inv()
2248 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()
528 if (!is_power_of_2(val & DRM_MODE_ROTATE_MASK)) { in drm_atomic_plane_set_property()
109 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()
216 DRM_MODE_ROTATE_MASK | DRM_MODE_REFLECT_MASK); in vkms_plane_init()
860 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()
188 #define DRM_MODE_ROTATE_MASK (\ macro
117 supported_rotation = DRM_MODE_ROTATE_MASK | in dcss_plane_can_rotate()
418 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()
523 unsigned int degree = rotation & DRM_MODE_ROTATE_MASK; in gsc_src_set_transf()
479 #define Rot_ALL_H_V (DRM_MODE_ROTATE_MASK | Flip_H_V)
132 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()
558 DRM_MODE_ROTATE_MASK | in sprd_plane_create_properties()
1737 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()
757 switch (hstate->base.rotation & DRM_MODE_ROTATE_MASK) { in atmel_hlcdc_plane_atomic_check()
1495 supported_rotations |= DRM_MODE_ROTATE_MASK; in dpu_plane_init()
1095 plane_ctl |= skl_plane_ctl_rotate(rotation & DRM_MODE_ROTATE_MASK); in skl_plane_ctl()