Age | Commit message (Collapse) | Author |
|
Change-Id: I8aa8566036a44b1587f5cfe6c745e11a3dd19481
|
|
Change-Id: Iea70b19b2baf9827b3551b7ba16808fe89c48cf4
|
|
CRs-Fixed: 2048735
Change-Id: Ief7f8ae4006ab211272191b66bd4bd854d9098b2
|
|
Avoids hardcoding paths in vendor
Change-Id: I6411c27cebfd8bc1d65bc84942b4c2621f64e420
CRs-Fixed: 2048581
|
|
Change-Id: I050988d96eccc1c3217a8f2030b333cd8d04c4d4
CRs-Fixed: 2010492
|
|
This reverts commit 4c790408b144b8ddf117a8d94661c81c86304cfc.
Change-Id: I32c48e300e8c641b196210c4412b635e1c1941f0
CRs-Fixed: 2013665
|
|
CRs-Fixed: 2010492
Change-Id: I80bb14624e9a47189777bd4c8f8847ca946df74c
|
|
* Use private_0 flag
* Add some legacy flags to be used during transition
* Fix gralloc module version
* Adjust makefiles for gralloc1
* Add support for dump, num flex planes and lock flex.
* Use a unique ID for buffer descriptors
* Do not delete buffer handle, fix after verifying framework fix.
* Current gralloc1 clients do not conform to the lock() requirement
in the gralloc1 header. Tracked in b/33588773
* Add perform APIs to get the buffer size and allocate a buffer
for use by SDM
* Fix reference counting
* Add a unique buffer ID
* Some cleanup in private_handle
* Create a wrapper class of private_handle to do refcounting
* Resolve implementation defined formats At allocation time, update buffer
descriptors to replace implementation defined formats with the ones we mean
to allocate
* Defer ion handle release
* Remove unused drm code.
* Add legacy constructor for private_handle_t used by some
clients
CRs-Fixed: 2007391
Change-Id: Ia9e816cec35ba45483a5b75d99f256325a010138
|
|
Add support for BGR_888 and CBYCRY_422_I in display HAL. The
new formats will be used by QCarCam Application.
CRs-Fixed: 1116491
Change-Id: I5ccca57a3ca2d27c4e064b0c5abd68c77c7afadd
|
|
Initial implementation of the gralloc1 APIs
Change-Id: I3b01595b0f9b30d9a08d02101fe42281556bd6a2
|
|
Change-Id: I71e3fa3f7d44253b8e01d1eafe086b1898d65a8e
|
|
Add support for UBWC in gralloc alloc_buffer api and copybit
Change-Id: I264114d51c2d3caeb1611139641d99ddb006a7ce
|
|
* Earlier, camera preview buffers were of NV21(YCrCb_420_SP)
and the video buffers were of NV12_VENUS(YCbCr_420_SP_VENUS)
format. Now that the video encoder has support for NV21,
both the camera and video buffers can be of
NV21_VENUS(YCrCb_420_SP_VENUS) format.
* If the preview and video buffer sizes are the same,
CPP double pass to generate video and preview buffers can be
avoided and the buffers can now be generated within a single pass
with CPP duplication thereby saving power.
* Add support in gralloc for NV12_VENUS format to achieve
the same.
Change-Id: I7001f975f2cafa21c893e7384ddbddd5f2788b1d
|
|
1. Reclaim some old gralloc flags.
2. System heap allocation happens by default.
3. Remove some unused private flags.
4. Add heapid member to alloc_data to better line up with ion
header
5. Remove check for MDSS_TARGET
Change-Id: I37be0a2fcd5fd4a14bb9ca235fcae41f6f3ec19e
|
|
|
|
|
|
Some apps like camera and video are running on
less fps than panel refresh rate. Hence setting
dynamic fps will help in reducing BW voting for PPP.
Change-Id: I236fe96d5c6547044083774388887638f9e32958
|
|
While calculation of actual src or dst crop for mdp3,
values may go in -ve.
CRs-Fixed: 769741
Change-Id: Ief0fff0cb518f473bd24d04936e97c771e95cb5f
|
|
Add malloc return null check for copybit context 'ctx',
and source handler null check before getting metadata.
Change-Id: I9466de72d2b47ec2ba58fd50e66022555652f4c8
|
|
Define RGBA_5551 and RGBA_4444 which are OEM specific formats in
gralloc_priv.h
Change-Id: I6cdb723ea7e0783e7f58dbe1b45152dc427994c9
|
|
Allocate gralloc buffers cached by default unless clients specify
uncached using PRIVATE_UNCACHED or READ_RARELY or WRITE_RARELY at
allocation time. Some clients could use gralloc for allocation but
later won't use lock()/unlock() for CPU operations and likely use
their own caching methods. Cached by default helps such clients.
SW usage flags are not defined as bit values, so do not use bitops
on those flags.
Change-Id: Id371de2ec6efbfa0ed84172b3540f3ebc8f5d459
|
|
Fix warning messages for hwc and copybit.
Change-Id: I36360720383b482578fa6d2e21f19fe937f8610b
|
|
1. Modify gralloc library to allocate buffers for RGBA_4444 and
RGBA_5551 formats
2. Modify copybit library to add composition support for RGBA_4444
and RGBA_5551 layers
3. Modify hwc library to add MDP composition and rotator support for
RGBA_4444 and RGBA_5551 layers.
Change-Id: I30dbc4e5e2c010835fa7e7663f996f67779a1803
|
|
This reverts commit e4001e736d35179a0a3fec751906ce41e4458745.
Change-Id: Ic09ba8bc5b0784bce07e8800f6276b3290bc0e7a
|
|
|
|
* Define VENUS_COLOR_FORMAT to get aligned dimensions for venus format
* Compile copybit lib for ferrum
Change-Id: I905b84fc066075af50b8197dd53157a3a57db59b
|
|
Set Color Space for MDP (Overlay & Blit) to configure CSC matrix
correctly.
Change-Id: Ie1cada971d43339f334c061591fa848d8bb2385d
|
|
Treat warnings as errors again
Change-Id: Ibd7f484d31ad420b85e82fd5183d70bf7dce4bfa
|
|
NEON instructions in software converter are specifically written
for 32 bit ARM architecture. Do not compile them on 64 bit arch.
Change-Id: I1dbac24df519e00a2cc125b35cbd3bc520188457
|
|
Proper handing of opening copybit device.
Change-Id: Id54ca463fe34764a1a3ffe90a71d8eec7cfefeb3
|
|
Use correct typecasts and format specifiers and resolve
compiler warnings
Change-Id: I51b12ecb78a9a496cf1f76c3d32892a203f70c43
|
|
Enable swapping of R & B color components
for RGB_888 format, otherwise C2D renders
wrong output.
Change-Id: Ib1670418a588e09e8168a04c9f8b8022a84e65e8
CRs-fixed: 672033
|
|
|
|
|
|
Enable HAL_PIXEL_FORMAT_RGB_888 pixel format support in c2d library.
Change-Id: I2316357adb3fef8007bdab4791c94e53d12fa00f
|
|
To comply with multi-arch build system changes for 64-bit support,
LOCAL_MODULE_RELATIVE_PATH needs to be used.
Drop explicit use of LOCAL_MODULE_PATH as its not needed, and
causes build system to overwrite one of multi-arch library
variants with the other arch variant.
Change-Id: I882de72ad2003f1e2bcc93fb63bad7377a84d31d
|
|
|
|
Ashmem use in gralloc has been deprecated for some time. Remove
the stale headers.
Change-Id: Ie048c377b649c0639ffeefe9af41f7a5caaf0382
|
|
On open source builds, adreno libs don't get built, due to which
c2d headers aren't exported. Export it from the display HAL.
Change-Id: I6ed1d1fcf3f99ba83d5f194e40d0b42bd7b4d566
|
|
- Remove unused variables
- Use proper type casts for pointers.
Change-Id: Ie07c67d759d76f418fae08accdcfb1855511dedf
|
|
Tearing was seen when mdp was performing clear on fb because
acquire fence was not being passed in.
Change-Id: Iea5bcc50efc783497c770779faae59f933252551
|
|
|
|
1. For Color layer, set zero transform value on COPYBIT_TRANSFORM
otherwise it causes MDP IOMMU page fault at 90/270 degree rotation.
2. Color layer is part of Copybit context list, so no need to call
msm_copybit() explicitly for it, that will be called during flush.
Change-Id: I4421b4bddfeca56b0ad8534d921c3d743a7d92bb
|
|
Initialize release and acquire fence fds of Copybit context to -1.
Otherwise fd 0 gets closed in first call to msm_copybit, which is
valid fd and it leads to bad state if fd 0 is being used as stdin.
Change-Id: I01278bbb580d61e2d4b4c7b3f7b346274af6d914
|
|
We are using the solid fill feature for
clearing the wormhole region using black
color.
Using the src buffer same as dst buffer to
avoid kernel checks for this use case.
Change-Id: Ia46aded9b067ece83c9df1f2c2cdd6b017fa64ea
|
|
1. Color layer has a destination rectangle, RGBA color and plane
alpha. There is no gralloc buffer. Layer flag HWC_COLOR_FILL
denotes color layer. MDP BLIT happens via MDP_SOLID_FILL mode.
2. There is no color member in HWC layer, so RGBA color value is
passed via "tranform" member from framework to HAL.
3. Update HWC query to enable framework to query for Color layer
support in HAL, at run-time.
Change-Id: I2c698007c1689779fe86d549093bb5285432dc5f
|
|
This changes removes the use of 5551 and 4444 pixel formats
as its not supported anymore
Change-Id: I817510c3c7c0c3d95924c2ffc79e5727a6d6c48f
(cherry picked from commit 1fbd4a9662b07d53a3f220c91b3e85ca571a4938)
|
|
1.Framework notifies HAL with "HWC_FORMAT_RB_SWAP" layer flag to handle
a limitation where R and B components were swapped in Rendering phase.
2.Add "R/B swap" in hwc query to enable framework to query for support
in display HAL, at run-time.
Change-Id: I3b44d15b51b4f24939048fee9d1bac2b9009c97c
|
|
|
|
Adding support for interleaved HAL_PIXEL_FORMAT_YCbCr_422_I and
HAL_PIXEL_FORMAT_YCrCb_422_I format in display HAL.
Change-Id: Ib87d9bf481c20bf6a92293dd04746719b1d928c1
|