Commit Graph

8 Commits

Author SHA1 Message Date
Saurabh Shah
08c65b3d25 overlay: mdssRot: Fix stale rotation flag values.
When moving from a non-zero to 0 orientation rot flags are not cleared.
This change resets the flag to 0 after every commit.

Change-Id: I2fb9759921c36620c53bf2ac92d9473a42919d8c
2013-01-07 10:33:45 -08:00
Sushil Chauhan
6e3fab8113 liboverlay: Mdss Rotator secure buffer needs to be aligned to 1M.
It is TZ requirement, xpu needs the buffer size to be 1MB aligned
for protection.

Change-Id: Icd9047a54d5706c321445e7970fb0f455d0c130b
2012-12-26 12:05:47 -08:00
Sushil Chauhan
faae042b76 liboverlay: Enable secure content flag in Mdss Rotator.
- Secured contents shared with hardware should be uncached.
- Secure heap needs to be contiguously allocated & aligned to 1MB,
  which is not supported by IOMMU heap.

Change-Id: I6c7c00d5363319f9a6db6e52c1e78e1b16ecd9aa
2012-12-26 12:03:55 -08:00
Sushil Chauhan
fbffad72c8 mdssRotator:For Venus, rotator buffer size depends on rotated w/h
Due to alignment requirements on venus format, rotator buffer size
calculation needs to be performed according to destination buffer
dimensions. Due to these alignments, the buffer can be different
when width and height are swapped due to 90 degree rotation.

Change-Id: I8eb0f1ece22946e6c3b2106623c3457e6871fd9c
2012-12-20 14:46:07 -08:00
Linux Build Service Account
109ab1ee85 Merge "display: Add target specific flag to support Venus color format" 2012-12-15 15:54:08 -08:00
Sushil Chauhan
c6bd6d92c2 display: Add target specific flag to support Venus color format
Venus color format is not supported on older platforms. Add target
specific flag in display hal and define Venus macros to zero for
older platforms.

Change-Id: I38141ae870e255a0e54ce9fde46fe6cc3415f179
2012-12-12 17:00:09 -08:00
Ken Zhang
ba48b01c18 overlay: Do not unset overlay for MSMFB_NEW_REQUEST
Change-Id: I40c21964db91e098f6f445e7860fefd09dcad768
2012-12-12 16:38:00 -05:00
Naseer Ahmed
758bfc5b50 hwc/overlay: Dynamic pipe tracking.
Remove state based pipe handling and make pipes tracked dynamically.
Add the configStart, configDone, nextPipe availablePipes APIs.
Remove setState API.

-configStart marks all pipes available.
-configDone garbage-collects unused pipe objects.
-nextPipe returns the index of next available pipe and create a corresponding
pipe object if not present
-availablePipes returns total of "unallocated" pipes. (Pipes could be allocated
but unused)

Changes in hwc adapt to the new overlay APIs.
Compile out MDP comp.
Remove unused files in overlay and hwc.
Update licenses.

Conflicts:

	libhwcomposer/hwc.cpp
	libhwcomposer/hwc_utils.cpp

Bug: 7626586
Change-Id: Id8e56901d34e5dc0fd088260d05e3e46f68ff090
Signed-off-by: Saurabh Shah <saurshah@codeaurora.org>
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-12-03 15:33:29 -05:00