Commit Graph

4336 Commits

Author SHA1 Message Date
Naseer Ahmed be2e1bb905 display: Clean up gralloc
* Remove pmem and ashmem implementations
* Remove usage of RefBase
* Reduce log verbosity

Change-Id: If8ef543d236e5305bd5430f4f9c62c51b3a13787
2012-07-23 12:39:29 -07:00
Naseer Ahmed 0c8b7b5c84 hwcomposer: Add support for UI mirroring
- Uevent observer as part of Hwcomposer
- HPD, enabling/disabling external display from HWC

Change-Id: I52b4f30c78e98c5b52c86722046389f458c2dbee
2012-07-23 12:38:12 -07:00
Naseer Ahmed ccf943e44f hwcomposer: Add support for UI mirroring
- Uevent observer as part of Hwcomposer
- HPD, enabling/disabling external display from HWC

Change-Id: I52b4f30c78e98c5b52c86722046389f458c2dbee
2012-07-23 12:38:12 -07:00
Naseer Ahmed f48aef64b2 liboverlay: Refactor, bug-fixes, upgrade.
* Fix memory leak during copying pipe objects.
* Remove unused / unnecessary code.
* setMemoryId API is merged with queueBuffer.
* setParameter API is setTransform now.
* Rotator upgraded to:
  --Allow different rotator hardware types.
  --Remove dependency on MDP code.
  --Allocate memory only during first playback,
  close when the associated pipe is closed.
* Have single commit implementation.
* Include new format types.
* Remove WAIT and CHANNEL enums and usage. Replace BypassPipe with
  GenericPipe. Client expected to set alignments and parameters.
  Add transform combination enums.
* Allow APIs to be called in any order. Do transform calcs in commit.
  Move ext type setter and getter functions.
* Add calculations for 180 transform.
* Add secure session support in rotator
* Implement all rotations in terms of H flip, V flip and 90 rotation.

Change-Id: I34a9a2a0f1255b3467a0abbaa254d0b584e901ce
2012-07-23 12:36:44 -07:00
Naseer Ahmed ee7fc0347e liboverlay: Refactor, bug-fixes, upgrade.
* Fix memory leak during copying pipe objects.
* Remove unused / unnecessary code.
* setMemoryId API is merged with queueBuffer.
* setParameter API is setTransform now.
* Rotator upgraded to:
  --Allow different rotator hardware types.
  --Remove dependency on MDP code.
  --Allocate memory only during first playback,
  close when the associated pipe is closed.
* Have single commit implementation.
* Include new format types.
* Remove WAIT and CHANNEL enums and usage. Replace BypassPipe with
  GenericPipe. Client expected to set alignments and parameters.
  Add transform combination enums.
* Allow APIs to be called in any order. Do transform calcs in commit.
  Move ext type setter and getter functions.
* Add calculations for 180 transform.
* Add secure session support in rotator
* Implement all rotations in terms of H flip, V flip and 90 rotation.

Change-Id: I34a9a2a0f1255b3467a0abbaa254d0b584e901ce
2012-07-23 12:36:44 -07:00
Naseer Ahmed 8831816879 framebuffer: Fix locking
The gralloc locking did not lock
the framebuffer. Use genlock to
lock the framebuffers.

Change-Id: Ie8be6f7950f6df06a2293c3df863e19cd5386479
2012-07-23 12:35:29 -07:00
Naseer Ahmed eb8f34fd4a framebuffer: Fix locking
The gralloc locking did not lock
the framebuffer. Use genlock to
lock the framebuffers.

Change-Id: Ie8be6f7950f6df06a2293c3df863e19cd5386479
2012-07-23 12:35:29 -07:00
Naseer Ahmed a4f41fae32 gralloc: Fix msm_ion include
Change-Id: Ibbd93a14fca7c13f71ff2bb74a5ce14bd24cbe9c
2012-07-23 12:34:15 -07:00
Naseer Ahmed 300ca609e4 gralloc: Fix msm_ion include
Change-Id: Ibbd93a14fca7c13f71ff2bb74a5ce14bd24cbe9c
2012-07-23 12:34:15 -07:00
Naseer Ahmed 4d35af868a display: Clean up makefiles
Move common includes and shared libraries to
a common location

Change-Id: I0427f0f98b4c039a691be0ef6f3deead2b4bfa02
2012-07-23 12:29:27 -07:00
Naseer Ahmed a6bf153e8a display: Clean up makefiles
Move common includes and shared libraries to
a common location

Change-Id: I0427f0f98b4c039a691be0ef6f3deead2b4bfa02
2012-07-23 12:29:27 -07:00
Naseer Ahmed a87da60090 display: Add QC Display utils
* Rename qcomui directory to qdutils
* Avoid inclusion of qcom_ui header
* Add class to get MDP version
* Add namespace for qdutils to prevent collison

Change-Id: I9a3f440e6b0fea1cfcc478ddca90af5df3bbb897
2012-07-13 17:50:32 -07:00
Naseer Ahmed 0f859f6f0d display: Add QC Display utils
* Rename qcomui directory to qdutils
* Avoid inclusion of qcom_ui header
* Add class to get MDP version
* Add namespace for qdutils to prevent collison

Change-Id: I9a3f440e6b0fea1cfcc478ddca90af5df3bbb897
2012-07-13 17:50:32 -07:00
Naseer Ahmed 30621ab602 display: Use single thread for FB post.
To support swapinterval zero a separate thread
was added to do the framebuffer post. Since we
are going to support the WAITFORVSYNC ioctl in HWC,
we can handle the zero swapinterval case there.

Change-Id: I39f960825ca4173f99a9895e0c132b70a7adccab
2012-07-09 22:02:29 -07:00
Naseer Ahmed 18d7edafe9 display: Use single thread for FB post.
To support swapinterval zero a separate thread
was added to do the framebuffer post. Since we
are going to support the WAITFORVSYNC ioctl in HWC,
we can handle the zero swapinterval case there.

Change-Id: I39f960825ca4173f99a9895e0c132b70a7adccab
2012-07-09 22:02:29 -07:00
Naseer Ahmed 00fd6a573e display: Enable triple framebuffers
Change-Id: I323c10b939277477f724c2d0a20f9c6da4899481
2012-07-09 22:01:02 -07:00
Naseer Ahmed 682ac42a77 display: Enable triple framebuffers
Change-Id: I323c10b939277477f724c2d0a20f9c6da4899481
2012-07-09 22:01:02 -07:00
Sungmin Choi b514889338 add light hal module
- initial version
- control lcd backlight
- control red, green, blue

Change-Id: Ibd24dcee3a739111f9eb6a7717b76754875da36e
2012-07-02 16:57:10 -07:00
Sungmin Choi 57f32637ce add light hal module
- initial version
- control lcd backlight
- control red, green, blue

Change-Id: Ibd24dcee3a739111f9eb6a7717b76754875da36e
2012-07-02 16:57:10 -07:00
Iliyan Malchev f5c98d1ca4 hardware/qcom/display: fix build for other targets
Change-Id: I00ac616975dcedef9bbdd48be82baaa1f1674667
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-06-29 16:54:50 -07:00
Iliyan Malchev ef04d594f9 hardware/qcom/display: fix build for other targets
Change-Id: I00ac616975dcedef9bbdd48be82baaa1f1674667
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-06-29 16:54:50 -07:00
choongryeol.lee 26145b8999 gralloc : apply kernel 3.4 fb screeninfo type
Since fb screeninfo type is changed in kernel 3.4,
fb ioctl is not work correctly without this patch.

Change-Id: I5d673b78bd9a1680daf77256a7d31bc78d75cda7
2012-06-28 22:20:48 -07:00
choongryeol.lee b4572b058c gralloc : apply kernel 3.4 fb screeninfo type
Since fb screeninfo type is changed in kernel 3.4,
fb ioctl is not work correctly without this patch.

Change-Id: I5d673b78bd9a1680daf77256a7d31bc78d75cda7
2012-06-28 22:20:48 -07:00
Naseer Ahmed 3b4cee666d liboverlay: Fix format masking
The format was masked earlier for interlaced
videos and 3D content. Remove this masking

Change-Id: Ia167ef5ca6405fcb430f7e1ae453092de3597c4a
2012-06-21 21:00:58 -07:00
Naseer Ahmed 351fb48f7e liboverlay: Fix format masking
The format was masked earlier for interlaced
videos and 3D content. Remove this masking

Change-Id: Ia167ef5ca6405fcb430f7e1ae453092de3597c4a
2012-06-21 21:00:58 -07:00
Naseer Ahmed ed670145be genlock: Update version to match release on CodeAurora Forum
Change-Id: Ia45afc73723a9abc1cd55da8a8d0013c171b9855
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
2012-06-21 20:41:33 -07:00
Naseer Ahmed e76a0f7cc7 genlock: Update version to match release on CodeAurora Forum
Change-Id: Ia45afc73723a9abc1cd55da8a8d0013c171b9855
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
2012-06-21 20:41:33 -07:00
Naseer Ahmed 65f1656621 gralloc: Update YUV420 SP tiled format to match OMX
The value of OMX color format for YUV 420 SP tiled is 0x7FA30C03.
Add this format and also remove masking for interlaced videos
and S3D which were causing the format to be masked incorrectly

Change-Id: I76fe5e6e00a36130b065c5d88a8f52eebcfa162b
2012-06-21 16:31:57 -07:00
Naseer Ahmed cfbb0c8d90 gralloc: Update YUV420 SP tiled format to match OMX
The value of OMX color format for YUV 420 SP tiled is 0x7FA30C03.
Add this format and also remove masking for interlaced videos
and S3D which were causing the format to be masked incorrectly

Change-Id: I76fe5e6e00a36130b065c5d88a8f52eebcfa162b
2012-06-21 16:31:57 -07:00
Naseer Ahmed 29a26818d7 qcom/display: Update HALs
- Update the display HAL from Code Aurora Forum
- Add updated overlay library
- Enable HWC with basic video going through overlay
- Cleanup some files

Change-Id: I65c687c51be458cee71213c79e03eeda962d9086
2012-06-21 11:52:07 -07:00
Naseer Ahmed befc466069 qcom/display: Update HALs
- Update the display HAL from Code Aurora Forum
- Add updated overlay library
- Enable HWC with basic video going through overlay
- Cleanup some files

Change-Id: I65c687c51be458cee71213c79e03eeda962d9086
2012-06-21 11:52:07 -07:00
Iliyan Malchev 06ff498a7c remove dependency of libqcomui on libskia
Said dependency was being used to generate a PNG image in a dump() call.
Commenting out for now.

Change-Id: Ia7b4667ead15365757726a6b0ff7dd62c09bfeb0
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-06-12 11:21:17 -07:00
Iliyan Malchev 4c7487bba8 remove dependency of libqcomui on libskia
Said dependency was being used to generate a PNG image in a dump() call.
Commenting out for now.

Change-Id: Ia7b4667ead15365757726a6b0ff7dd62c09bfeb0
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-06-12 11:21:17 -07:00
Iliyan Malchev 202a77d28a initial GL libraries for msm8960
Change-Id: I16451c70a079894ac326d3564d96f1fbafcd4f1b
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-06-11 23:50:46 -07:00
Iliyan Malchev a19f21d925 initial GL libraries for msm8960
Change-Id: I16451c70a079894ac326d3564d96f1fbafcd4f1b
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-06-11 23:50:46 -07:00
Chad Jones 07966eed60 Initial empty repository 2012-06-11 11:36:26 -07:00