summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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-11libhwc2.1: Add cgc_lut property checkerYongWook Shin
cgc_lut property is changed for GS201. To prevent old style cgc configuration failure, property checking codes are added. Bug: 187006158 Signed-off-by: YongWook Shin <yongwook.shin@samsung.com> Change-Id: Ia539b48caa3e6a68b95e7660b6b14118851ffd67 Merged-In: Ia539b48caa3e6a68b95e7660b6b14118851ffd67
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-11hwc/gs101: set enhanced hbm when LBE HBM mode am: 96cc675684 am: 83c025cb0clinpeter
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/14056759 Change-Id: I44abb9bd08de8b005a95980cbc7888e27dbf1673
2021-08-11hwc/gs101: set enhanced hbm when LBE HBM mode am: 96cc675684android-12.0.0_r32android-12.0.0_r29android-12.0.0_r27android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaselinpeter
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/14056759 Change-Id: I08d26d431a655555d9b57a58edce80687212d17f
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-dev am: 33ed3676bdTreeHugger Robot
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/15287618 Change-Id: I9baa8c64a69573677cd7ac37c9a9d608449d0888
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 changes am: cbd531498dLong Ling
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/15339771 Change-Id: I52d198405a9d7fbf812e458085e46d3405867c4f
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-16libhwc2.1: change default g2d capacity to 3.5ms am: d55594f911Midas Chien
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/15283893 Change-Id: I1f1290043012567cc9f6793ecf265194c2fbd3ac
2021-07-16Revert "libhwc2.1: set frame rate for acryl module" am: 471620b3acMidas Chien
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/15258457 Change-Id: I9da1c1de7eaa343b8b6dc7f4cf03cecb94ddaf2d
2021-07-15libhwc2.1: change default g2d capacity to 3.5msMidas Chien
The work duration is the same regradless of refresh rate and work duration is set to 8.3ms. Change default g2d time to 3.5ms for now. Bug: 177216165 Test: play 1080p, 2k, 4k video with downscale request Change-Id: I97bb3a76708b5185511292dab8c7cf28d4723f63
2021-07-15Revert "libhwc2.1: set frame rate for acryl module"Midas Chien
This reverts commit b37391542bc82d1b9491ac4b3d6266c86a5c2282. Reason for revert: according capacity to calculate bw Bug: 177216165 Test: play 1080p, 2k, 4k video with downscale request Change-Id: I24633524063ada01cee1eaa69b9e74b996cd89f0
2021-07-13libhwc2.1: define new backlight nodeWeizhung Ding
Bug: 186525013 Test: backlight can be adjusted Change-Id: Ib5dd5cee644bd09b75f70a1c091c49c6573cab16
2021-07-12Merge changes from topic "187763532" into sc-dev am: 2850184d9bLong Ling
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/15133890 Change-Id: Idb4a2af4ac6964393ccfa4ca5d6c6654ac574717
2021-07-12libhwc2.1: check RR compensation enabled status w/o refresh rate am: 0fbddb2ab3Long Ling
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/15238275 Change-Id: I4778e939fca3f01efc93acae7560521dbbadc9c4
2021-07-12libhwc2.1: support smooth display compensation am: 9ebb39f623Long Ling
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/14969606 Change-Id: Ieb0484554fb4890a47189fbeeb0c38dcfcc216d0
2021-07-12Merge changes from topic "187763532" into sc-devLong Ling
* changes: libhwc2.1: pass hdr full screen status to displaycolor libhwc2.1: check RR compensation enabled status w/o refresh rate libhwc2.1: support smooth display compensation
2021-07-09libhwc2.1: pass hdr full screen status to displaycolorLong Ling
Bug: 189928400 Change-Id: I0109d71d985518556a39e15fbc066aefc85bf0bf
2021-07-09Revert "libhwc2.1: M2M dst buffer has SBWC format as default" am: 7805377aabMidas Chien
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/15221111 Change-Id: I4058380ff467a40d35f6ac16221e6879871b791a
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-07-07Revert "libhwc2.1: M2M dst buffer has SBWC format as default"Midas Chien
This reverts commit 8c5bce26a45589f33a5014a7be3fcd6103f3297e. Reason for revert: bad g2d performance Bug: 192287346 Test: G2D downscale 1/4, 1/9, 1/16 Change-Id: I80ea42a419f1994adab06920fd521352a0844b7e
2021-06-28Merge "libhwc2.1: Apply updated PPC table" into sc-dev am: cbe2177d18Midas Chien
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/15044801 Change-Id: Id2aa681a0d2b792e7269edf070face5fd08d9475
2021-06-28Merge "libhwc2.1: Apply updated PPC table" into sc-devMidas Chien
2021-06-21libhwc2.1: Force display color setting after readback am: 6ac7fed9a5HyunKyung Kim
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/14665973 Change-Id: Ibd48e3ba9ac45232ff3720991021f4a71afba2c2
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-22libhwc2.1: Apply updated PPC tableYongWook Shin
PPC table is updated in kernel side. It updates PPC table as updated kernel side PPC table values. Bug: 177310644 Signed-off-by: YongWook Shin <yongwook.shin@samsung.com> Change-Id: If3a9e7d61ab16a818da722955e512bd783b4b94a
2021-06-15hwc/gs101: atc st dimming am: 20cf479ad1linpeter
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/14565765 Change-Id: I3e972299ba6af38c0aef83846b468c9e500d928d
2021-06-10hwc/gs101: atc st dimminglinpeter
Added the atc st dimming mechanism Bug: 181286324 test: atc st change Change-Id: I365c2d904f5f874fa2bf4d22d0eea0b3468aa3bf
2021-05-19libhwc2.1: track dpp old blobs by plane id am: b432911c60Long Ling
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/graphics/gs101/+/14517559 Change-Id: I44786edbec5b6f2cf22347a9dc5b28a2e51a5e7d
2021-05-12libhwc2.1: track dpp old blobs by plane idLong Ling
Track dpp old blobs by plane id instead of dpp index. blobs are plane data and should be grouped by plane id not by dpp index which is used to retrive layer color data. For example frame 1 has 4 layer color data and frame 2 has 3 layer color data. The old blobs tracked by dpp index 3 (the 4th layer) won't be accessed by the second frame. However, the plane assigned to dpp index 3 at frame 1 could be assigned to dpp index 2 frame 2. One issue is the plane's blob can't be cleared. Bug: 187517905 Test: play hdr video and no white flash at screen rotation. Change-Id: I3f20b22b5b884cb7f9b60d0817b39add100fd06a
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-04-12Merge "libhwc2.1: Disable skipStaticLayer" into sc-devYichi Chen
2021-03-30libhwc2.1: Disable skipStaticLayerHyunKyung Kim
Bug: 172968540 Signed-off-by: HyunKyung Kim <hk310.kim@samsung.com> Change-Id: I8dfb31ae19971f14094dd951b461bef3d6ea9e5e
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: Clean up code related to multi displayHyunKyung Kim
Use std::array, std::string instead of c style code Bug: 162322019 Test: single/dual display boot to OS, and suspend/resume Signed-off-by: HyunKyung Kim <hk310.kim@samsung.com> Change-Id: Ia2704774dad23807a95656f4085dcaa4e2109944