summaryrefslogtreecommitdiff
path: root/libhwc2.1/libmaindisplay
AgeCommit message (Collapse)Author
2022-01-20Merge "libhwc2.1: atc sys node update"TreeHugger Robot
2022-01-17libhwc2.1: atc sys node updatelinpeter
The name of atc sys node was changed under DQEs(sys/class/dqe0/atc). Bug: 198991782 test: atc on/off Change-Id: I8633a7e80854027119ba4283ea125e79cbcee3e7
2022-01-12Merge "libhwc2.1: add mixed composition support"Long Ling
2021-12-21libhwc2.1: pass panel name and serial to displaycolorLong Ling
Bug: 172619016 Change-Id: I7f8d9b7de1aa20db8b6158e2d712b3fc813cd4fe
2021-12-20libhwc2.1: add mixed composition supportLong Ling
Bug: 196171661 Change-Id: Ia04cf750e0392255d40ab13eadd763f356373ce3
2021-12-03libhwc2.1: get display calibrated information am: 97abc71ca5 am: ee64a0a29dlinpeter
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/16191139 Change-Id: Idf087bcc3b4c1bbbcb310efac5e9e0fb993d6899
2021-11-25libhwc2.1: get display calibrated informationandroid-12.1.0_r9android-12.1.0_r8android-12.1.0_r7android-12.1.0_r22android-12.1.0_r21android-12.1.0_r20android-12.1.0_r19android-12.1.0_r11android-12.1.0_r10android12L-devandroid12-qpr3-s7-releaseandroid12-qpr3-s6-releaseandroid12-qpr3-s5-releaseandroid12-qpr3-s4-releaseandroid12-qpr3-s3-releaseandroid12-qpr3-s2-releaseandroid12-qpr3-s1-releaseandroid12-qpr3-releaselinpeter
Bug: 186057327 test: check calibration file Change-Id: Id89a0a3a2f9c6a8c8a6d7b1be0401a84185f7073
2021-11-23libhwc2.1: update for newly added BrightnessControllerLong Ling
Bug: 200332096 Change-Id: I002420af4039a56e571d7d2f4bf0548407c542dd
2021-09-11libhwc2.1: Force display color update after switching displayWeizhung Ding
The color may not be updated after the display is switched, add the flag to trigger the color update. Bug: 181262509 Test: switch display and check the color effect Change-Id: I1bdde34cff5cb69cbaa2ae534c5fcae848be2ab9
2021-09-11libhwc2.1: Support two pipeline for displaycolorWeizhung Ding
Support two pipeline for displaycolor and move mDisplayColorInterface to ExynosDeviceModule Bug: 181262509 Test: switch display and check the color effect Change-Id: Ie99009295efef937fd4816e872c22ce2667805a6
2021-09-02libhwc2.1: re-enable displaycolorHyunKyung Kim
Bug: 197942811 Test: device boot and suspend/resume work Test: Check color modes with mock calibration file Change-Id: I7a81f9dd1bb7e3193cf76a4e0b3204e67cfc2511 Merged-In: I7a81f9dd1bb7e3193cf76a4e0b3204e67cfc2511
2021-09-02[HACK] libhwc2.1: Remove code for libdisplaycolorHyunKyung Kim
This commit should be used for only Home screen bring-up. Bug: 197942811 Test: device boot and suspend/resume work Signed-off-by: HyunKyung Kim <hk310.kim@samsung.com> Signed-off-by: Pat Tjin <pattjin@google.com> Change-Id: I3a7b6e3ac94eafd4df2cd79fcdc9768a67e71c16 Merged-In: I3a7b6e3ac94eafd4df2cd79fcdc9768a67e71c16
2021-08-30Merge "libhwc2.1: Apply namespace gs101" into sc-v2-devTreeHugger Robot
2021-08-27libhwc2.1: pass display info to displaycolorLong Ling
Bug: 194444865 Change-Id: I3b316982a10b6f4c202896a0da392bb6ff25c371
2021-08-27libhwc2.1: Apply namespace gs101YongWook Shin
To support SoC variations, it requires namespace separation. This commit encloses class codes and globals with namespace gs101. And gs101 codes will be used as base implementations for all SoC variations. Bug: 197942811 Test: device boot and suspend/resume work Signed-off-by: YongWook Shin <yongwook.shin@samsung.com> Change-Id: I5aa8b20cf351c291ed42d1d8b4cd343040210e4a Merged-In: I5aa8b20cf351c291ed42d1d8b4cd343040210e4a
2021-08-26libhwc2.1: check libdisplaycolor versionLong Ling
Load displaycolor when version string matches expectation. Otherwise disable displaycolor. Bug: 197758661 Bug: 193068217 Test: boot to home w/o or mismatched libdisplaycolor Change-Id: Ibc23b80f5574d725ff089deeacc2fc9de0f3910f
2021-08-09hwc/gs101: set enhanced hbm when LBE HBM modelinpeter
Bug: 177144573 test: check IRC OFF when LBE HBM mode Change-Id: I4d00fffaba7fd7093b60e9341ded99ab2b9c0553
2021-07-23Merge "hwc/gs101: correct dimming st check" into sc-devTreeHugger Robot
2021-07-22hwc/gs101: correct dimming st checklinpeter
Bug: 191851821 test: check st dimming Change-Id: I6af1ae76b645777768123e0cf10f23f0a0f0afcb
2021-07-20libhwc2.1: force update plane color if dc dpp index changesLong Ling
The mapping among displaycolor, hwc and drm: displaycolor dpp index <---> hwc layer <---> drm plane id. Force update plane color if the assigned displaycolor dpp index changes. Bug: 193285185 Test: scrolling image list in Chrome during pip YT video playback Change-Id: I53975fe412051fede9302183c6761d7abb15d1bc
2021-07-09libhwc2.1: pass hdr full screen status to displaycolorLong Ling
Bug: 189928400 Change-Id: I0109d71d985518556a39e15fbc066aefc85bf0bf
2021-07-08libhwc2.1: check RR compensation enabled status w/o refresh rateLong Ling
As long as there is one RR regamma data, any refresh rate switching from/to that refresh rate will need to be handled properly. Bug: 187763532 Change-Id: Iedbdba4199e66dea8bb7e6e4060e569c75521037
2021-07-07libhwc2.1: support smooth display compensationLong Ling
1. update scene after during presentDisplay. 2. check if early wakeup is needed. Bug: 187763532 Change-Id: I3c912e27b69ab67dc6e7a5ff2ea6df4bd2e31621
2021-06-21libhwc2.1: Force display color setting after readbackHyunKyung Kim
Display color setting could be skipped when readback was requested in the common code. This patch forces to set display color setting in the first frame after the frame that skipped display color setting. Bug: 175422660 Signed-off-by: HyunKyung Kim <hk310.kim@samsung.com> Change-Id: I68f8d2da4204ba595124c3c75d491a6a18322c11
2021-06-10hwc/gs101: atc st dimminglinpeter
Added the atc st dimming mechanism Bug: 181286324 test: atc st change Change-Id: I365c2d904f5f874fa2bf4d22d0eea0b3468aa3bf
2021-05-11Merge "libhwc2.1: lhbm compensation" into sc-devLong Ling
2021-05-06hwc/gs101: apply atc setting when it's changed.linpeter
Set atc setting to sys file node if value is changed. And call invalidate() only when it needs to apply new atc setting to avoid unnecessary frame update. Bug: 183349400 test: check set atc setting if changed Change-Id: I746433980cb47bd914c74e8bbe9e41241f0c82ed
2021-05-04libhwc2.1: lhbm compensationLong Ling
Pass lhbm status and dbv to displaycolor. Read back the adjusted dbv value. Bug: 184096624 Change-Id: If1f6363196a768fb902e1692aadb30a669537419
2021-04-28libhwc2.1: load displaycolor after init drm deviceLong Ling
Display driver is in fully ready status after setActiveConfig which has been called during drm device initialization. Bug: 186446401 Test: reboot and no failed reading panel serial in displaycolor log Change-Id: Ic0420446a1769dacb9fc7fcd847faa9bcfbc081f
2021-03-29libhwc2.1: set brightness mode in displaycolor sceneLong Ling
Bug: 143292983 Change-Id: I7ad3fccdf5bc9cfa1c69d50d11e5b3adeb68a893
2021-03-23Merge changes from topic "dual_display" into sc-devWeizhung Ding
* changes: libhwc2.1: Clean up code related to multi display libhwc2.1: Change function name for readability libhwc2.1: Disable forceReserveMPP libhwc2.1: Reserve DPP to the specific display libhwc2.1: Check if display interface is valid libhwc2.1: Support dual display libhwc2.1: support multi display with resource table libhwc2.1: add display define table and arrange code libhwc2.1: Modify concept of display's type and ID
2021-03-18libhwc2.1: Change function name for readabilityHyunKyung Kim
Bug: 162322019 Test: single/dual display boot to OS, and suspend/resume Signed-off-by: HyunKyung Kim <hk310.kim@samsung.com> Change-Id: I496641e55579ba72701b497720945fe7dbd88a54
2021-03-18libhwc2.1: Disable forceReserveMPPHyunKyung Kim
HWC would check power status when it reserve the MPP to the display. HWC reserves MPP to the display only if the display is on. Bug: 162322019 Test: single/dual display boot to OS, and suspend/resume Signed-off-by: HyunKyung Kim <hk310.kim@samsung.com> Change-Id: Ibadf9481b43891eb26ae2316b0e7cb87a3d00408
2021-03-18libhwc2.1: Reserve DPP to the specific displayHyunKyung Kim
Enable configuration to reserve MPP to the the specific display even if the display is not connected. Bug: 162322019 Test: single/dual display boot to OS, and suspend/resume Signed-off-by: HyunKyung Kim <hk310.kim@samsung.com> Change-Id: I9d2d37423ffc3e50107ff3d2dce9c8095a992625
2021-03-18libhwc2.1: Modify concept of display's type and IDSeungchul Kim
Bug: 162322019 Test: single/dual display boot to OS, and suspend/resume Change-Id: Iebac9728b274eef0b3291fd4505edfe8ec51ca97 Signed-off-by: Seungchul Kim <sc377.kim@samsung.com> Signed-off-by: HyunKyung Kim <hk310.kim@samsung.com>
2021-03-17hwc/gs101: use new jsoncpp parse APIlinpeter
Json Reader is deprecated upstream Bug: 182959727 test: check read data Change-Id: Ife0163ac63bb7f796a3c51f68e868f404e4033f2
2021-03-17hwc/gs101: ATC mode/ambient light controlPeter Lin
Configure the ATC mode setting and set ambient light Bug: 168848203 Bug: 182959727 test: check lbe state/ambient light change Change-Id: Id071e62aa9fc0bc6c45db235f233c202015c1d24
2021-03-17hwc/gs101: parse atc profilePeter Lin
Parse the atc profile for atc mode setting. Mode setting includes lux mapping(ambient light and strength) and sub atc setting. Bug: 168848203 Bug: 182959727 test: parse a profile file and check atc default value Change-Id: I92efa191a8b1ece952a9477ea204302802916bdd
2021-03-17Revert "hwc/gs101: parse atc profile"Adam Shih
Revert "libhwc2.1: Add IDisplay/default interface to HWC" Revert submission 13427428-hwc_lbe Reason for revert: build line broken Reverted Changes: I5d1781532:hwc/gs101: parse atc profile Id2bfe06cb:hwc/gs101: ATC mode/ambient light control Ie5a1270e7:libhwc2.1: Add IDisplay/default interface to HWC Bug: 182959727 Test: full build pass Change-Id: I1a93897734db8051bb19ae3af7f9c7bef34bcf41
2021-03-17Revert "hwc/gs101: ATC mode/ambient light control"Adam Shih
Revert "libhwc2.1: Add IDisplay/default interface to HWC" Revert submission 13427428-hwc_lbe Reason for revert: build line broken Reverted Changes: I5d1781532:hwc/gs101: parse atc profile Id2bfe06cb:hwc/gs101: ATC mode/ambient light control Ie5a1270e7:libhwc2.1: Add IDisplay/default interface to HWC Bug: 182959727 Test: full build pass Change-Id: Id8ba72c52e6256c0625670bf1a66026bf572b61a
2021-03-16hwc/gs101: ATC mode/ambient light controllinpeter
Configure the ATC mode setting and set ambient light Bug: 168848203 test: check lbe state/ambient light change Change-Id: Id2bfe06cb74d3e40c222406774fee83619df3f74
2021-03-16hwc/gs101: parse atc profilelinpeter
Parse the atc profile for atc mode setting. Mode setting includes lux mapping(ambient light and strength) and sub atc setting. Bug: 168848203 test: parse a profile file and check atc default value Change-Id: I5d178153285de817ac822f15c3465c677884eaf3
2021-01-19Revert "libhwc2.1 force dpp update every frame"Long Ling
This reverts commit fe97ba625ab961b9cef725e42b5eefffb5a12db1. Bug: 177696623 Bug: 174244159 Signed-off-by: Long Ling <longling@google.com> Change-Id: If56feb7270984e64a8f871e65801ce50892e4197
2021-01-14libhwc2.1: set display scene force_hdrLong Ling
Bug: 168225512 Change-Id: Iad48a3fbc86a08723ba77a400cd415001affe527
2021-01-14libhwc2.1: put client composition under control of displaycolorLong Ling
To allow displaycolor dim client composition layer. Bug: 168225512 Change-Id: Ic9b5061c0636daec8fb7c713ccfce206c5593f84
2021-01-13libhwc2.1: dim SDR layersLong Ling
dim SDR layers according to current hbm state. Bug: 168225512 Change-Id: I6bf1e6f66c38893fb57f01c16e405a33fcd64475
2020-11-25libhwc2.1 force dpp update every frameLong Ling
a temp fix. Bug: 174244159 Change-Id: I0967c44a37ed9f775edf7d05fa34742561f778fe
2020-11-25libhwc2.1 force layer color update if assigned plane changesLong Ling
If a layer's assigned plane has changed, force to update the DPP's color settings. Bug: 174193808 Change-Id: Ie29f7865afec795de4a4196739946ccd6af15aa6
2020-10-21hwc/gs101: update for multiple display color dataLong Ling
1. Get the display color control interface with display number 2. Get the primary display color for ExynosPrimaryDisplayModule Change-Id: I80cac8a3488c2c2643112646c0805eda1a61081a
2020-10-14hwc/gs101: Update for new displaycolor interfaceLong Ling
New displaycolor interface separate config data from stage data. Change-Id: I21313ca28776850c35a3a3223634e172aa49e6ba