Commit Graph

11 Commits

Author SHA1 Message Date
Saurabh Dubey
d90a6a43cc display: Enhance debug logging
1) Enable dynamic debugging in DRM
2) Add more Qservice debug categories, add corresponding kTags
3) Use ALOG for messages before core creation and after it is destroyed
4) Categorize existing logs correctly
5) Add more logs

Change-Id: I3a9907900c6546adca907ecf720a78649fdc800b
Crs-fixed: 2146757
2017-11-28 20:32:24 -08:00
Rohit Kulkarni
8622e36f16 sdm: Add support for inline rotator
Add support to populate inline rotator caps and setup inline
rotator configuration during atomic commit.

Change-Id: I6504db71689a865c6edb15e12ab44a6740255cb5
CRs-fixed: 2017744
2017-06-13 15:19:57 -07:00
Pullakavi Srinivas
5de9c63778 sdm: Add support to recompute rectangles considering flips
CRs-Fixed: 2006534
Change-Id: I698e9cd6eddf958fa564e4d32fa5b98057eb9f1d
2017-02-19 21:16:18 -08:00
Pullakavi Srinivas
1494a93fc8 sdm: Update layer parameters based on panel orientation
Update layer rotation parameters with panel orientation.
Recalculate destination rect for all layers.

CRs-fixed: 1112326
Change-Id: I95f6428c77b23cf2437c319f6ab519aa3ad245e9
2017-01-18 21:29:24 -08:00
Ramkumar Radhakrishnan
b27735ff94 sdm: Add rect mapping and interface to store actual resolution
1. Add rectangle mapping function to map a rectangle from one
   coordinate system to another coordinate system.
2. Add unaligned_width and unaligned_height in layer buffer to store
   the actual buffer resolution without alignment.
3. Populate unaligned width and height information of SDM layer
   buffer from private handle

Change-Id: Ic4c03cc5779418959732332d26b8ecb59c2483b5
CRs-Fixed: 1040942
2016-09-28 11:14:48 -07:00
Ramkumar Radhakrishnan
6884047ac1 sdm: Add support for dynamic layer mixer resolution change.
1. Define binder API to change layer mixer resolution.
2. Honor layer mixer resolution change request only if the hardware
   supports destination scaler.
3. Give preference to panel scaling over destination scaling, as panel
   scaling requires less bandwidth.
4. Disable partial update for a frame on mixer resolution change.

CRs-Fixed: 1005180
Change-Id: I3d4e48c8853a941f12703915b33c3a0a4df09af2
2016-06-03 10:59:09 -07:00
Manoj Kumar AVM
ddca4e7dfd sdm: Remove unused function in rect utility
Remove unused function Union of regions in rect utility.

CRs-Fixed: 935432
Change-Id: I6bbe65342d3d3b132668334d334d2225a4d7b7e2
2015-11-11 14:23:32 -08:00
Tatenda Chipeperekwa
a8668641ba sdm: Adjust the split if a horizontal flip is present
1. Split from right to left on the source to ensure that the
   width of the right split is aligned to the expected width
   alignment.
2. Split from bottom to top on the destination to ensure that the
   resultant y-offset is aligned correctly after the swap
   operation happens.

Change-Id: I7ddcc068e0ec14b66294b15e641b3e1c58f14a1b
2015-08-18 21:34:05 -07:00
Dileep Marchya
ee93e50467 sdm: Add a method to calculate union of a rectangle array.
- Add a method in rect utility which aggregates all rectangles
  contained in a rectangle array and unionizes them.

Change-Id: Ic825cafe644f00623af15711bd7f54a48d5cc66e
2015-08-05 11:43:28 -07:00
Ramkumar Radhakrishnan
345081196a sdm: Add split rectangle support for split rotation.
1. Add support to split rectangle vertically and horizontally.
2. Add debug property to enable/disable split rotation.

Change-Id: I4070e7e754c2a3a3a9ca4f4eab91037f7f9c88b7
2015-06-24 12:06:17 -07:00
Dileep Marchya
73d002e57c sdm: Align to new SDM design.
- Align code base to new SDM design.

Change-Id: I38d7d138ae704cf036e2b96c16453aea63bc333f
2015-05-21 11:58:10 -07:00