Lines Matching refs:orient
104 u32 orient; in drm_rotation_to_tiler() local
109 orient = 0; in drm_rotation_to_tiler()
112 orient = MASK_XY_FLIP | MASK_X_INVERT; in drm_rotation_to_tiler()
115 orient = MASK_X_INVERT | MASK_Y_INVERT; in drm_rotation_to_tiler()
118 orient = MASK_XY_FLIP | MASK_Y_INVERT; in drm_rotation_to_tiler()
123 orient ^= MASK_X_INVERT; in drm_rotation_to_tiler()
126 orient ^= MASK_Y_INVERT; in drm_rotation_to_tiler()
128 return orient; in drm_rotation_to_tiler()
138 u32 x, y, orient = 0; in omap_framebuffer_update_scanout() local
160 orient = drm_rotation_to_tiler(state->rotation); in omap_framebuffer_update_scanout()
175 if (orient & MASK_Y_INVERT) in omap_framebuffer_update_scanout()
177 if (orient & MASK_X_INVERT) in omap_framebuffer_update_scanout()
181 omap_gem_rotated_dma_addr(fb->obj[0], orient, x, y, in omap_framebuffer_update_scanout()
186 info->screen_width = omap_gem_tiled_stride(fb->obj[0], orient); in omap_framebuffer_update_scanout()
213 omap_gem_rotated_dma_addr(fb->obj[1], orient, x/2, y/2, in omap_framebuffer_update_scanout()