Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/
Ddrm_blend.c279 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()
Ddrm_client_modeset.c941 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()
Ddrm_rect.c273 switch (rotation & DRM_MODE_ROTATE_MASK) { in drm_rect_rotate()
333 switch (rotation & DRM_MODE_ROTATE_MASK) { in drm_rect_rotate_inv()
Ddrm_modes.c1671 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()
Ddrm_atomic_uapi.c568 if (!is_power_of_2(val & DRM_MODE_ROTATE_MASK)) { in drm_atomic_plane_set_property()
/Linux-v5.10/drivers/gpu/drm/omapdrm/
Domap_fb.c106 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()
/Linux-v5.10/drivers/gpu/drm/mediatek/
Dmtk_disp_ovl.c165 if ((rotation & DRM_MODE_ROTATE_MASK) != 0) in mtk_ovl_layer_check()
/Linux-v5.10/include/uapi/drm/
Ddrm_mode.h188 #define DRM_MODE_ROTATE_MASK (\ macro
/Linux-v5.10/drivers/gpu/drm/arm/
Dmalidp_planes.c867 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()
/Linux-v5.10/drivers/gpu/drm/imx/dcss/
Ddcss-plane.c115 supported_rotation = DRM_MODE_ROTATE_MASK | in dcss_plane_can_rotate()
/Linux-v5.10/drivers/gpu/drm/exynos/
Dexynos_drm_fimc.c420 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()
Dexynos_drm_gsc.c523 unsigned int degree = rotation & DRM_MODE_ROTATE_MASK; in gsc_src_set_transf()
/Linux-v5.10/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_dev.c479 #define Rot_ALL_H_V (DRM_MODE_ROTATE_MASK | Flip_H_V)
Dd71_component.c130 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()
/Linux-v5.10/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c650 switch (state->base.rotation & DRM_MODE_ROTATE_MASK) { in atmel_hlcdc_plane_atomic_check()
/Linux-v5.10/drivers/gpu/drm/omapdrm/dss/
Ddispc.c1767 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()
/Linux-v5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c4080 switch (plane_state->rotation & DRM_MODE_ROTATE_MASK) { in fill_dc_plane_info_and_addr()
/Linux-v5.10/drivers/gpu/drm/i915/display/
Dintel_display.c4826 plane_ctl |= skl_plane_ctl_rotate(rotation & DRM_MODE_ROTATE_MASK); in skl_plane_ctl()