Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sunxi v4l2 rotation engine support to the drm_hwcomposer #66

Open
rsglobal opened this issue Aug 17, 2020 · 2 comments
Open

Add sunxi v4l2 rotation engine support to the drm_hwcomposer #66

rsglobal opened this issue Aug 17, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@rsglobal
Copy link
Member

Sunxi display controlled has no support for rotated planes.
Instead it offers separate IP core to rotate buffer, which is exposed to user as v4l2 driver.

To off-load GPU with changed orientation, we can use that driver.

Case 1: No rotation
[hwc layer 1] -> [drm_plane 1]
[hwc layer 2] -> [drm_plane 2]

Case 2: Changed orientation

[hwc layer 1] -> [Rotate layer into new buffer, cache it] -> [drm_plane 1]
[hwc layer 2] -> [Rotate layer into new buffer, cache it] -> [drm_plane 2]

@matviizorin matviizorin self-assigned this Aug 27, 2020
@matviizorin matviizorin added the enhancement New feature or request label Aug 27, 2020
@marynasergiyenko marynasergiyenko added this to In progress in GloDroid-board Aug 27, 2020
@rsglobal
Copy link
Member Author

@matviizorin

Assignment removed due to long inactivity. Please update it if you are still working on the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
GloDroid-board
  
In progress
Development

No branches or pull requests

2 participants