/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_blend.c | 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()
|
H A D | drm_client_modeset.c | 956 panel_rot = ilog2(*rotation & DRM_MODE_ROTATE_MASK); in drm_client_rotation() 957 cmdline_rot = ilog2(cmdline->rotation_reflection & DRM_MODE_ROTATE_MASK); in drm_client_rotation() 960 panel_rest = *rotation & ~DRM_MODE_ROTATE_MASK; in drm_client_rotation() 961 cmdline_rest = cmdline->rotation_reflection & ~DRM_MODE_ROTATE_MASK; in drm_client_rotation() 972 if (((*rotation & DRM_MODE_ROTATE_MASK) != DRM_MODE_ROTATE_0 && in drm_client_rotation() 973 (*rotation & DRM_MODE_ROTATE_MASK) != DRM_MODE_ROTATE_180) || in drm_client_rotation()
|
H A D | drm_rect.c | 273 switch (rotation & DRM_MODE_ROTATE_MASK) { in drm_rect_rotate() 333 switch (rotation & DRM_MODE_ROTATE_MASK) { in drm_rect_rotate_inv()
|
H A D | drm_modes.c | 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()
|
H A D | drm_atomic_uapi.c | 570 if (!is_power_of_2(val & DRM_MODE_ROTATE_MASK)) { in drm_atomic_plane_set_property()
|
/openbmc/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_fb.c | 108 switch (drm_rot & DRM_MODE_ROTATE_MASK) { in drm_rotation_to_tiler() 192 switch (state->rotation & DRM_MODE_ROTATE_MASK) { in omap_framebuffer_update_scanout()
|
/openbmc/linux/drivers/gpu/drm/vkms/ |
H A D | vkms_plane.c | 216 DRM_MODE_ROTATE_MASK | DRM_MODE_REFLECT_MASK); in vkms_plane_init()
|
H A D | vkms_composer.c | 63 switch (frame_info->rotation & DRM_MODE_ROTATE_MASK) { in get_y_pos()
|
/openbmc/linux/drivers/gpu/drm/arm/ |
H A D | malidp_planes.c | 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()
|
/openbmc/linux/include/uapi/drm/ |
H A D | drm_mode.h | 188 #define DRM_MODE_ROTATE_MASK (\ macro
|
/openbmc/linux/drivers/gpu/drm/imx/dcss/ |
H A D | dcss-plane.c | 117 supported_rotation = DRM_MODE_ROTATE_MASK | in dcss_plane_can_rotate()
|
/openbmc/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_fimc.c | 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()
|
H A D | exynos_drm_gsc.c | 522 unsigned int degree = rotation & DRM_MODE_ROTATE_MASK; in gsc_src_set_transf()
|
/openbmc/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_disp_ovl.c | 317 if ((rotation & DRM_MODE_ROTATE_MASK) != 0) in mtk_ovl_layer_check()
|
/openbmc/linux/drivers/gpu/drm/sprd/ |
H A D | sprd_dpu.c | 558 DRM_MODE_ROTATE_MASK | in sprd_plane_create_properties()
|
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/d71/ |
H A D | d71_dev.c | 479 #define Rot_ALL_H_V (DRM_MODE_ROTATE_MASK | Flip_H_V)
|
H A D | d71_component.c | 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()
|
/openbmc/linux/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_plane.c | 653 switch (hstate->base.rotation & DRM_MODE_ROTATE_MASK) { in atmel_hlcdc_plane_atomic_check()
|
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | dispc.c | 1777 switch (rotation & DRM_MODE_ROTATE_MASK) { in dispc_ovl_set_accu_uv() 1933 if ((rotation & DRM_MODE_ROTATE_MASK) != DRM_MODE_ROTATE_0) in dispc_ovl_set_scaling_uv() 1992 switch (rotation & DRM_MODE_ROTATE_MASK) { in dispc_ovl_set_rotation_attrs() 2007 switch (rotation & DRM_MODE_ROTATE_MASK) { in dispc_ovl_set_rotation_attrs()
|
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_plane.c | 1468 supported_rotations |= DRM_MODE_ROTATE_MASK; in dpu_plane_init()
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | skl_universal_plane.c | 919 plane_ctl |= skl_plane_ctl_rotate(rotation & DRM_MODE_ROTATE_MASK); in skl_plane_ctl()
|
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm.c | 5023 switch (plane_state->rotation & DRM_MODE_ROTATE_MASK) { in fill_dc_plane_info_and_addr() 9924 switch (plane_state->rotation & DRM_MODE_ROTATE_MASK) { in dm_get_oriented_plane_size()
|