Age | Commit message (Collapse) | Author |
|
This reverts commit 4c790408b144b8ddf117a8d94661c81c86304cfc.
Change-Id: I32c48e300e8c641b196210c4412b635e1c1941f0
CRs-Fixed: 2013665
|
|
CRs-Fixed: 2010492
Change-Id: I80bb14624e9a47189777bd4c8f8847ca946df74c
|
|
When the output of the sensor is raw12 format, errors occur
in gralloc. So raw12 format needs to be supported in gralloc.
Change-Id: If9f7808713bae2fb1efb774e65ae742ca20fb201
CRs-Fixed: 2005966
Signed-off-by: Zhu Bin <cbinz@codeaurora.org>
|
|
Add support for booting up with default non-atomic mode
Add libdrmutils that currently has:
DRMMaster:
Creates a master DRM session
Converts ION handles to DRM FB_ID
DRMResMgr:
Enables a default display path by providing APIs for
connector id, crtc id, mode etc
Change-Id: I1dc697d2cc5e3fa744c99e2c9ddd57bf06e78c4f
CRs-fixed: 1114808
|
|
|
|
msm_media_info.h is conditionally included, but symbols within it
aren't. Since msm_media_info.h will always be available, remove
conditional inclusion.
Change-Id: I8e6cc8cb12899318e81a622b42f14e14fd0f9acb
|
|
Remove unused code related to macro tiling from galloc and qdutils.
Add API to check for driver type and query caps based on driver.
Change-Id: I36cfa5529395c69deb886080be1c904ff5c9ad15
CRs-fixed: 1109207
|
|
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
|
|
While allocating output buffers for writeback display, check video
encoder capability for UBWC as well before assigning the format.
Change-Id: I1ad84bec7ef5a55527fe67c72ecbb7fe9fe914fb
|
|
Add support to get the aligned width and size for P010 YUV format
Change-Id: I0e4908b2f0b2c8b668d4b58702421c89bb03b195
CRs-Fixed: 1102142
|
|
- Add color aspects and HDR10 related static metadata
which will be used in the existing metadata structure.
- Clients can use COLOR_METADATA to update the CSC
information
- UPDATE_COLOR_SPACE is legacy and will be used when
COLOR_METADATA is not set.
- Update gralloc to return color space when set from
COLOR_METADATA
- Gaurd the usage with USE_COLOR_METADATA for cobalt.
Change-Id: I460accf6cd2bb7a305c7e93284955e566a5b7532
Crs-fixed: 1074172
|
|
|
|
1. Add support for Secure Camera use-case in SDM and gralloc.
2. Set the appropriate ION Heap ID, secure camera/preview ION flags
and the alignment requirement for Secure Camera use-case.
CRs-Fixed: 1065934
Change-Id: I9e80f3093d598eec7bf717ddd0e3adbbc3382d5e
|
|
(Second attempt at this change)
In some cases, the framework attempts to lock a secure buffer.
Since it does not get an error code from the lock, it proceeds to
dereference the base address (which is invalid). Return an error
code when a secure buffer is attempted to be locked, while still
ensuring that the metadata is mapped.
Bug: 28526999
Bug: 30404840
Change-Id: I6e2aaa8e9d2f28b5f5ae98fcb449d58c2f728f52
CRs-fixed: 1010697
|
|
Add missing address computaion of 10bit RGBs, which
are supported by Ubwc.
Change-Id: I94b49a03210af43b61bc7b133daae7d128a32ef0
|
|
Change-Id: I0081584d77f4bb4c6f561554e9cf8fb0f2dab471
|
|
- Add Rec2020 CSC in qdMetadata for limited/full range
- Expose CSC as #defines in gralloc private header to
help GFX decouple from the display headers
Change-Id: I90ee2708275bf1a37ece0fce2f0867dfad64e39a
Crs-fixed: 1074164
|
|
|
|
|
|
- Use getpagesize() function from unistd.h to get page size
in place of PAGE_SIZE macro.
- Make isDisableUBWCForEncoder declaration pure virtual.
Change-Id: I89405e999e4683874f4daa32188181e688a19812
CRs-Fixed: 1069351
|
|
- For TP10 Venus UBWC format, the Venus macro returns the
stride, which is 4/3 times the width.
- Need to store the pixel width instead of stride
in the private handle hence * 3/4
Change-Id: I2c1348c6b90f141ecef6cabf493780325f17db77
Crs-fixed: 1059165
|
|
Align Venus TP10 UBWC format enum value to the value defined in the
video header, in the same way as its done for Venus UBWC format
Change-Id: I4e929d8dd028dc3f854f1ec9ecc5f8dbbfae98be
CRs-fixed: 1061950
|
|
Add unaligned_width and unaligned_height in private_handle_t to store
the buffer resolution without alignment that client asked to allocate.
Change-Id: I28d757af4178f581e6a83dc06198106c85fc7262
CRs-Fixed: 1040942
|
|
|
|
CRs-Fixed: 1054762
Change-Id: I875a5521b45e893aaa5a53db07249d6fcaca4521
|
|
CRs-Fixed: 1054762
Change-Id: I370acf2507eaade3d4a96e956ebb5f61f659ceb6
|
|
This reverts commit 7a86b840ae427137955726ec8ef8825e29edb141.
CTS failures were seen in camera in cases where EIS uses the
gralloc private handle.
Change-Id: Ibe9d6331175ab389d724fb10a1d73421456dcd47
CRs-Fixed: 1048932
|
|
Gralloc hardcodes CSC to 601. However clients can update
color space as per requirements using setMetaData api.
CRs-Fixed: 1045509
Change-Id: I6a053f187e92faeb83bc7b558e60f9e59c49cd11
|
|
|
|
|
|
In some cases, the framework attempts to lock a secure buffer.
Since it does not get an error code from the lock, it proceeds to
dereference the base address (which is invalid). Return an error
code when a secure buffer is attempted to be locked, while still
ensuring that the metadata is mapped.
Since we return a proper error in lock(), register buffer fails.
Since a map should not be done in registerBuffer per the gralloc
spec, only map the metadata here. Clients that need to access
memory in CPU after registerBuffer should do a lock().
Change-Id: I74204931fa61524f1601dd99ab266219d4be2c82
CRs-fixed: 1010697
|
|
This change introduces compilation flag to
compile standalone SDM libs.
Change-Id: I3f8cde50e1806c6cf157364657d77fd9a780d5e3
|
|
While allocating output buffers for writeback display, check MDP
support for writeback UBWC format before assigning the format.
Change-Id: I97bb320ec89d60453c4c7e3dc5a2b5c2a18394dd
|
|
|
|
Merge in newer HALs not present earlier in this branch
Change-Id: I2832d00beccf86dd0929b78c6be1be5f2b0881fe
CRs-fixed: 1015411
|
|
- querySDEInfo queries MDP caps to check if UBWC is supported on H/W.
- Gralloc calls querySDEInfo api to check if UBWC feature is enabled
by MDP driver.
CRs-Fixed: 1013911
Change-Id: I9114c4d8286842f19619302484ee4690c59fcb29
|
|
Change-Id: I957b9d5902f6ea3714b46f3900e9f039b4667f0a
CRs-fixed: 1006155
|
|
As per the recommendation from the systems team set the
default CSC in metadata as 601FR
Change-Id: If307d3fc1612e0358cfe033117d1b6872d4d1765
CRs-fixed: 1010566
|
|
Protected allocations need to be uncached and don't need the MM
heap flag set
Change-Id: Ib64169e601af1c70a951a06266e70b4e18fc88f5
|
|
|
|
This is in keeping with the gralloc spec.
Change-Id: Id796a55e2ea51d3abdf9274140dc0404a42e1cab
CRs-fixed: 999994
|
|
Many case reading the same mdp capability multiple times from
sys file causing delay in operation. Hence reading only once.
Change-Id: I1b94ca63074aba2f078fe6add5a8de628ca87740
|
|
Compute YUV plane info using buffer width and height from metadata for
UPDATE_BUFFER_GEOMETRY use case.
CRs-Fixed: 994771
Change-Id: Idb42b56be970942a79c07ceb337afa2f966e4fbc
|
|
Add 10 bit RGB/YUV HAL Pixel formats in gralloc library.
CRs-Fixed: 882953
Change-Id: I5c99bbd61d899408d6ff182b11ffb537bbde13c6
|
|
- Ignore IGC operation metadata setting so that sRGB content can
be treated as regular RGB content.
CRs-Fixed: 958861
Change-Id: Ia66e9ef36c71ee834b4c1179f77e3be88218eec0
|
|
RAW10 stride should be aligned to 8 bytes and not 16 bytes
Change-Id: Ie1c6f3965a0b6ae1db399fc856b4deb55880463e
|
|
check for target specific system property "video.disable.ubwc"
to disable UBWC for the targets where encoder doesn't
support UBWC color-format.
Change-Id: Ifd050c3b44768870fc74a16e941e8286e3ea0c13
|
|
|
|
Certain apps use camera gralloc flags and expect full range
buffers without touching the metadata.
Change-Id: Ifdd000b0600d87f42e167b9c58a1ab4029ddeae5
CRs-fixed: 961720
|
|
Fix the result value of successful SET_SINGLE_BUFFER_MODE perform
operation.
CRs-Fixed: 958764
Change-Id: Ie84522776008b1f77213be406ec1b866353b265a
|