Lines Matching refs:orient
106 u32 orient; in drm_rotation_to_tiler() local
111 orient = 0; in drm_rotation_to_tiler()
114 orient = MASK_XY_FLIP | MASK_X_INVERT; in drm_rotation_to_tiler()
117 orient = MASK_X_INVERT | MASK_Y_INVERT; in drm_rotation_to_tiler()
120 orient = MASK_XY_FLIP | MASK_Y_INVERT; in drm_rotation_to_tiler()
125 orient ^= MASK_X_INVERT; in drm_rotation_to_tiler()
128 orient ^= MASK_Y_INVERT; in drm_rotation_to_tiler()
130 return orient; in drm_rotation_to_tiler()
142 u32 x, y, orient = 0; in omap_framebuffer_update_scanout() local
164 orient = drm_rotation_to_tiler(state->rotation); in omap_framebuffer_update_scanout()
179 if (orient & MASK_Y_INVERT) in omap_framebuffer_update_scanout()
181 if (orient & MASK_X_INVERT) in omap_framebuffer_update_scanout()
185 omap_gem_rotated_dma_addr(fb->obj[0], orient, x, y, in omap_framebuffer_update_scanout()
190 info->screen_width = omap_gem_tiled_stride(fb->obj[0], orient); in omap_framebuffer_update_scanout()
217 omap_gem_rotated_dma_addr(fb->obj[1], orient, x/2, y/2, in omap_framebuffer_update_scanout()