Lines Matching refs:orient
96 u32 orient; in drm_rotation_to_tiler() local
101 orient = 0; in drm_rotation_to_tiler()
104 orient = MASK_XY_FLIP | MASK_X_INVERT; in drm_rotation_to_tiler()
107 orient = MASK_X_INVERT | MASK_Y_INVERT; in drm_rotation_to_tiler()
110 orient = MASK_XY_FLIP | MASK_Y_INVERT; in drm_rotation_to_tiler()
115 orient ^= MASK_X_INVERT; in drm_rotation_to_tiler()
118 orient ^= MASK_Y_INVERT; in drm_rotation_to_tiler()
120 return orient; in drm_rotation_to_tiler()
131 u32 x, y, orient = 0; in omap_framebuffer_update_scanout() local
153 orient = drm_rotation_to_tiler(state->rotation); in omap_framebuffer_update_scanout()
168 if (orient & MASK_Y_INVERT) in omap_framebuffer_update_scanout()
170 if (orient & MASK_X_INVERT) in omap_framebuffer_update_scanout()
174 omap_gem_rotated_dma_addr(fb->obj[0], orient, x, y, in omap_framebuffer_update_scanout()
179 info->screen_width = omap_gem_tiled_stride(fb->obj[0], orient); in omap_framebuffer_update_scanout()
208 omap_gem_rotated_dma_addr(fb->obj[1], orient, x/2, y/2, in omap_framebuffer_update_scanout()