sde: Add Support for UI/Video rotation using SDE rotator
1. Implement Buffer manager to allocate and deallocate output buffers
for rotator.
2. Assign buffer slot for each layer requires rotation and manage the
internal state of buffer slot in buffer manager.
3. Get the output buffer for each layer requires rotation from buffer
manager and associate the information along with that layer.
4. Create/Destroy the rotator session from the hint provided by buffer
manager. This is required to help driver to calculate the bandwidth
for the current frame.
5. Validate the rotator configurations and submit the rotation job
using rotator validate and rotator commit ioctl.
Change-Id: I1bc1de05042f64d5f32e95ac6226890fa4fabd24
43 files changed