Searched refs:DRM_MODE_ROTATE_MASK (Results 1 – 18 of 18) sorted by relevance
279 WARN_ON((supported_rotations & DRM_MODE_ROTATE_MASK) == 0); in drm_plane_create_rotation_property()280 WARN_ON(!is_power_of_2(rotation & DRM_MODE_ROTATE_MASK)); in drm_plane_create_rotation_property()324 BIT((ffs(rotation & DRM_MODE_ROTATE_MASK) + 1) in drm_rotation_simplify()
941 panel_rot = ilog2(*rotation & DRM_MODE_ROTATE_MASK); in drm_client_rotation()942 cmdline_rot = ilog2(cmdline->rotation_reflection & DRM_MODE_ROTATE_MASK); in drm_client_rotation()945 panel_rest = *rotation & ~DRM_MODE_ROTATE_MASK; in drm_client_rotation()946 cmdline_rest = cmdline->rotation_reflection & ~DRM_MODE_ROTATE_MASK; in drm_client_rotation()957 if (((*rotation & DRM_MODE_ROTATE_MASK) != DRM_MODE_ROTATE_0 && in drm_client_rotation()958 (*rotation & DRM_MODE_ROTATE_MASK) != DRM_MODE_ROTATE_180) || in drm_client_rotation()
273 switch (rotation & DRM_MODE_ROTATE_MASK) { in drm_rect_rotate()333 switch (rotation & DRM_MODE_ROTATE_MASK) { in drm_rect_rotate_inv()
1671 if (!(rotation & DRM_MODE_ROTATE_MASK)) in drm_mode_parse_cmdline_options()1675 if (!is_power_of_2(rotation & DRM_MODE_ROTATE_MASK)) in drm_mode_parse_cmdline_options()
568 if (!is_power_of_2(val & DRM_MODE_ROTATE_MASK)) { in drm_atomic_plane_set_property()
106 switch (drm_rot & DRM_MODE_ROTATE_MASK) { in drm_rotation_to_tiler()188 switch (state->rotation & DRM_MODE_ROTATE_MASK) { in omap_framebuffer_update_scanout()
165 if ((rotation & DRM_MODE_ROTATE_MASK) != 0) in mtk_ovl_layer_check()
188 #define DRM_MODE_ROTATE_MASK (\ macro
867 if (state->rotation & DRM_MODE_ROTATE_MASK) in malidp_de_plane_update()868 val |= ilog2(plane->state->rotation & DRM_MODE_ROTATE_MASK) << in malidp_de_plane_update()
115 supported_rotation = DRM_MODE_ROTATE_MASK | in dcss_plane_can_rotate()
420 unsigned int degree = rotation & DRM_MODE_ROTATE_MASK; in fimc_src_set_transf()693 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)
130 switch (rot & DRM_MODE_ROTATE_MASK) { in to_rot_ctrl()460 layer->supported_rots = DRM_MODE_ROTATE_MASK | DRM_MODE_REFLECT_MASK; in d71_layer_init()
650 switch (state->base.rotation & DRM_MODE_ROTATE_MASK) { in atmel_hlcdc_plane_atomic_check()
1767 switch (rotation & DRM_MODE_ROTATE_MASK) { in dispc_ovl_set_accu_uv()1923 if ((rotation & DRM_MODE_ROTATE_MASK) != DRM_MODE_ROTATE_0) in dispc_ovl_set_scaling_uv()1982 switch (rotation & DRM_MODE_ROTATE_MASK) { in dispc_ovl_set_rotation_attrs()1997 switch (rotation & DRM_MODE_ROTATE_MASK) { in dispc_ovl_set_rotation_attrs()
4080 switch (plane_state->rotation & DRM_MODE_ROTATE_MASK) { in fill_dc_plane_info_and_addr()
4826 plane_ctl |= skl_plane_ctl_rotate(rotation & DRM_MODE_ROTATE_MASK); in skl_plane_ctl()