summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-10Merge commit '73e744e086040e404ed0aecdf622ea6b5600e750' into HEADPradosh Das
Change-Id: Ifb88b2335bbaf3f628b162c13485218cf68a020c
2020-08-31Merge "composer: Enable hwc copy for virtual_displays"qctecmdr
2020-08-31Merge "gralloc: modify YV12 color format handle"qctecmdr
2020-08-27composer: Enable hwc copy for virtual_displaysRamakant Singh
Change-Id: I1d18df1da01da48c84f094213099a8c0842a0235
2020-08-25Merge "gralloc: Update buffer size calc for NV12 color formats"qctecmdr
2020-08-25Merge "Gralloc: Fix stride bytes calculation for RAW."qctecmdr
2020-08-19Gralloc: Fix stride bytes calculation for RAW.Ramakant Singh
Change-Id: Ic2af36994c081b102e2e33f059bd694d984d3bfc
2020-08-19gralloc: Add metadata type buffer_typeTharaga Balachandran
CRs-Fixed: 2738373 Change-Id: I6df95891acea34e81ada3259590d9fbc75bfbd4a
2020-08-19gralloc: Update buffer size calc for NV12 color formatsPriyanka Gujjula
Compute the actual buffer size (including aligned width and height) based on pixel format that is set. In this case, calculate NV12 color format buffer sizes as per nv12_512 alignment even when the ubwc surface is set. Change-Id: Ic3ea1f03e9bfe0b62b3917e43d95da1f7e28bde8
2020-08-19gralloc: modify YV12 color format handleVenkat Thogaru
Change-Id: Ib8b6a80b1f39d11e2c9c7f9949c0c0323d7e6be3
2020-08-18Merge "gralloc: Consider subsampling in width and height" into ↵Linux Build Service Account
display.lnx.5.1.r2-rel
2020-08-18Merge "gralloc: Add the support of RAW data in getComponentSizeAndOffset" ↵Linux Build Service Account
into display.lnx.5.1.r2-rel
2020-08-18gralloc: Consider subsampling in width and heightTharaga Balachandran
This change takes subsampling into account when calculating the plane width and height in samples. It fixes mapper VTS failure for case YV12SubsampleMetadata. CRs-Fixed: 2734403 Change-Id: I7f2fae72207d8fb19cede05f78b486524ed2cd49
2020-08-18Merge "gralloc: Add error handling to ↵Linux Build Service Account
grallocToStandardPlaneLayoutComponentType" into display.lnx.5.1.r2-rel
2020-08-18gralloc: Add the support of RAW data in getComponentSizeAndOffsetYichi Chen
To support RAW8, RAW10, RAW12, and RAW16 in gralloc4.0, the patch sets the corresponding data in PlaneLayoutInfo and PlaneLayoutComponent. (Not a contribution) Bug: 157534008 Test: VtsHalGraphicsMapperV4_0TargetTest CRs-Fixed: 2728586 Change-Id: I5c0d7c31199b949dc32e112e2743ec6cdc7106bd
2020-08-18gralloc: Add error handling to grallocToStandardPlaneLayoutComponentTypeTharaga Balachandran
Return errors from getComponentSizeAndOffset if the component does not exist for the format, or if the format is not supported. CRs-Fixed: 2728586 Change-Id: I4a25a4ca2a6fb766016d5634afc8dbc93c9c4ab5
2020-08-18config: Removed Light HAL packages from display-product.mkVinoth Jayaram
Change-Id: Id41d32609d3075a0b149435c26d738976e32d741
2020-08-18Merge "gralloc: Remove default color space in AllocateBuffer()" into ↵Linux Build Service Account
display.lnx.5.1.r2-rel
2020-08-18Merge "sdm: Fix avg luminance value for built-in displays" into ↵Linux Build Service Account
display.lnx.5.1.r2-rel
2020-08-18gralloc: Remove default color space in AllocateBuffer()Tharaga Balachandran
The color space should be set explicitly by the producers, not set by default in gralloc. This change resolves CTS failures in CtsMediaV2TestCases#EncoderColorAspectsTest. CRs-Fixed: 2737311 Change-Id: Ia7c780ecc83af3ec742a810de6253fddcfdf66b8
2020-08-18sdm: Fix avg luminance value for built-in displaysVenkat Thogaru
Primary panel don't have average luminance value. Hence, display driver don't populate the same. Average luminance is initialized to default value of zero in HAL. Add average luminance calculation for primary display. This aligns with the external displays. CRs-fixed: 2716028 Change-Id: I962adef4c8298e7247cc320cc5813f1060dad4c1
2020-08-18gralloc: Add variable reserved region size and default metadata checksTharaga Balachandran
This change adds support for reserved regions larger than one page, as well as indicating whether a metadata value is default or has been explicitly set through set(). This fixes VTS failures for GetDataspace and GetLargeReservedRegion. CRs-Fixed: 2721357 Change-Id: I4bb428d429accb471a08bd44b88c3a565836a12c
2020-08-17Merge "gralloc: Fix array out of bound"qctecmdr
2020-08-12Merge "gralloc: Consider subsampling in width and height"qctecmdr
2020-08-12Merge "gralloc: Add the support of RAW data in getComponentSizeAndOffset"qctecmdr
2020-08-12Merge "gralloc: Add error handling to grallocToStandardPlaneLayoutComponentType"qctecmdr
2020-08-11gralloc: Add the support of RAW data in getComponentSizeAndOffsetYichi Chen
To support RAW8, RAW10, RAW12, and RAW16 in gralloc4.0, the patch sets the corresponding data in PlaneLayoutInfo and PlaneLayoutComponent. (Not a contribution) Bug: 157534008 Test: VtsHalGraphicsMapperV4_0TargetTest CRs-Fixed: 2728586 Change-Id: I5c0d7c31199b949dc32e112e2743ec6cdc7106bd
2020-08-10gralloc: Fix array out of boundVenkat Thogaru
Change-Id: I56aa8742a90d50c843707143566751ecdb7ff6ae
2020-08-09gralloc: Consider subsampling in width and heightTharaga Balachandran
This change takes subsampling into account when calculating the plane width and height in samples. It fixes mapper VTS failure for case YV12SubsampleMetadata. CRs-Fixed: 2734403 Change-Id: I7f2fae72207d8fb19cede05f78b486524ed2cd49
2020-08-06gralloc: Add error handling to grallocToStandardPlaneLayoutComponentTypeTharaga Balachandran
Return errors from getComponentSizeAndOffset if the component does not exist for the format, or if the format is not supported. CRs-Fixed: 2728586 Change-Id: I4a25a4ca2a6fb766016d5634afc8dbc93c9c4ab5
2020-08-05display-hal: fix compile errors with 5.4 kernelLiang Liu
Add uapi/include/display to include search path and add sde_drm.h to fix compile errors with 5.4 kernel. This change is backward compatible and is also working in 4.14 kernel. Change-Id: I47b025301fa53fbd4bc1cceb013db3648b5a61cd Signed-off-by: Liang Liu <lianliu@codeaurora.org>
2020-08-03sdm: Fix avg luminance value for built-in displaysVenkat Thogaru
Primary panel don't have average luminance value. Hence, display driver don't populate the same. Average luminance is initialized to default value of zero in HAL. Add average luminance calculation for primary display. This aligns with the external displays. CRs-fixed: 2716028 Change-Id: I962adef4c8298e7247cc320cc5813f1060dad4c1
2020-08-03Merge "trinket: Disable partial FB excl rect."qctecmdr
2020-08-03Merge "sdm: remove pending state for POMS transition in Doze"qctecmdr
2020-07-31sdm: remove pending state for POMS transition in DozePadmanabhan Komanduru
Since Off->Doze transition is now asynchronous, avoid the delay of commit cycle for video->cmd switch request. Change-Id: I8ba84c425a913b0050d6049c08e8f383deab3fe0
2020-07-29Merge "config: Removed Light HAL packages from display-product.mk"qctecmdr
2020-07-29Merge "gralloc: Remove default color space in AllocateBuffer()"qctecmdr
2020-07-29trinket: Disable partial FB excl rect.Vinoth Jayaram
Change-Id: I1fd770f7960bfaf75278eed124bd755d8da7aad7
2020-07-28gralloc: Remove default color space in AllocateBuffer()Tharaga Balachandran
The color space should be set explicitly by the producers, not set by default in gralloc. This change resolves CTS failures in CtsMediaV2TestCases#EncoderColorAspectsTest. CRs-Fixed: 2737311 Change-Id: Ia7c780ecc83af3ec742a810de6253fddcfdf66b8
2020-07-21gralloc: Add variable reserved region size and default metadata checksTharaga Balachandran
This change adds support for reserved regions larger than one page, as well as indicating whether a metadata value is default or has been explicitly set through set(). This fixes VTS failures for GetDataspace and GetLargeReservedRegion. CRs-Fixed: 2721357 Change-Id: I4bb428d429accb471a08bd44b88c3a565836a12c
2020-07-20Merge 97cd61330667628b1365cc4b2e9285832c18a623 on remote branchLinux Build Service Account
Change-Id: I9e14b1deed3e60b658ef9dd01adebcf33fd45dd7
2020-07-15config: Removed Light HAL packages from display-product.mkVinoth Jayaram
Change-Id: Id41d32609d3075a0b149435c26d738976e32d741
2020-07-10hwc: Allow null fence on client taret buffer.Baldev Sahu
Client keeps track of GPU composition requests and sends -1 fd if there is no need to re draw. CRs-Fixed: 2695433 Change-Id: I310d848a32afecdaf52aa23c513565920fe21de2
2020-07-09Merge 4629b4eadcfd2994d566a3999f275a38365431a8 on remote branchLinux Build Service Account
Change-Id: I89c10c355224adf94335d5739a1726ad6f958a0c
2020-07-08display: Added APIs based on IComposer 2.4Vinoth Jayaram
Added Composer_V2.4 APIs to handle VTS failures, SetAutoLowLatencyMode GetSupportedContentTypes SetContentType Change-Id: Ic0ca966aef2e44657312c55bc6156f86eceeb033
2020-07-03composer: Add lock for callback functionsAshish Kumar
Add mutex lock in register API and callback event so that it could wait for the callback event to finish. Change-Id: Id28e8b0a5b2200e76e0c6c5bb6a4245b4d3871e5 CRs-Fixed: 2714760
2020-06-26gralloc: Update get behaviour for interlaced metadataTharaga Balachandran
If the interlaced metadata is not set, return standard metadata value Interlaced_None instead of Interlaced_Qti. Change-Id: Ib3ea47c1a6883bc6a8c4751f7309d7e76af7f851 CRs-Fixed: 2685558
2020-06-25Merge "display: Add xml file support for new panels"qctecmdr
2020-06-22Merge 682b9c031d4ad3c6bdca30e7c68465c0b2f727ef on remote branchLinux Build Service Account
Change-Id: I2ecf504b81e348b19f393445faac0d83fa8c7d4d
2020-06-18hwc2: fix SetPowerMode when called from Builtin displayPadmanabhan Komanduru
Change-Id: I271b3c7ae3020a0f1178a75d80b28d3f2bbe8c64