Age | Commit message (Collapse) | Author |
|
Added SPDX-license-identifier-Apache-2.0 to:
libhistogram/Android.mk
libmemtrack/Android.mk
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
legacy_not_a_contribution
to:
Android.bp
gralloc/Android.mk
libqservice/Android.bp
sdm/libs/hwc2/Android.mk
Added SPDX-license-identifier-Apache-2.0 legacy_not_a_contribution
to:
gpu_tonemapper/Android.mk
liblight/Android.mk
Added SPDX-license-identifier-BSD
to:
hdmi_cec/Android.mk
libdebug/Android.mk
libdisplayconfig/Android.mk
libdrmutils/Android.mk
libqdutils/Android.bp
sdm/libs/core/Android.mk
sdm/libs/utils/Android.mk
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I8ccb4cb621fcd75c1736613789397e4187a892ce
|
|
Using transfer matrix to do color compensation for adaptive color mode.
Feature provides white compensation and saturation compensation. It
configured by property vendor.display.adaptive_white_coefficient and
vendor.display.adaptive_saturation_parameter.
In addition, white compentation needs device calibraiton data
(persist/display/calibrated_rgb) to calulate compensated value.
And it has interface command to enable/disable.
adb shell vndservice call display.qservice 201 i32 0 i32 1
Bug: 121231574
Bug: 116282483
Bug: 123483411
Test: Switch mode test and check dumpsys information
(Need WhiteCompensation, Need SaturationCompensation,
current transform)
Change-Id: I5e1aabc31ffdd25172049f745ea4c74b7db02454
|
|
Bug: 121228685
Bug: 122560586
Change-Id: Ic8e8b796d90f6ac7638be768b45a70c3846ae682
|
|
Add a thread that monitors the DRM control nodef for color
sampling events. Report this via dumpsys. This will be used to
also provide additonal context for display management in the framework.
Bug: 112756444
Test: boot, see dumpsys, no corruption.
Test: ./color_sampling_tool see statistics.
Test: pts-tradefed run pts -m PtsComposerTestCases
Test: adb shell vndservice call display.qservice 39 i32 1 i32 {1,0}
Change-Id: Ia0f02390ebeadab04c8cd81219d07112bd69c2f0
|
|
1. Define client interface to enable/disable idle power collapse
2. Maintain refcount to handle concurrent enable/disable
3. Trigger the screen refresh and wait for the next frame commit
done event before returning the control to the client on disable
idle pc
4. Enable idle pc on suspend and reset the refcount
5. Add binder support to enable/disable idle pc
CRs-Fixed: 2255316
Change-Id:Ibcaf9d4edca502cc91e9b201be822bd48313a635
|
|
* Add support for color mode with render intents.
* Remove transform hints as they are unused.
* Add saturation matrix, read from a property by default.
Change-Id: Ic8526854cbdcb8f6fe1f2b2b260b3999a5c4571a
CRs-Fixed: 2235178
|
|
Change-Id: Id7604ac803e49940aa2b49e106b414b4be1a25ad
|
|
Change-Id: I5429ecee3985e305290e312921725460ef195b83
|
|
Change-Id: I8aa8566036a44b1587f5cfe6c745e11a3dd19481
|
|
1) Enable dynamic debugging in DRM
2) Add more Qservice debug categories, add corresponding kTags
3) Use ALOG for messages before core creation and after it is destroyed
4) Categorize existing logs correctly
5) Add more logs
Change-Id: I3a9907900c6546adca907ecf720a78649fdc800b
Crs-fixed: 2146757
|
|
Dpps should wait opening driver before composer comes up.
Add a wservice binder call to query composer init status.
Add util function to block dpps until composer is up.
Change-Id: I82c025011e23a0b159ef2449b00b868a365d681a
CRs-fixed: 2102579
|
|
Expand dynamic debug function to allow scalar logging.
Change-Id: Ib1fb19788902dbcc0179856e139d3e3146ae8e52
CRs-Fixed: 2063587
|
|
Avoids hardcoding paths in vendor
Change-Id: I6411c27cebfd8bc1d65bc84942b4c2621f64e420
CRs-Fixed: 2048581
|
|
Add a binder API to set color mode by mode ID which is present in
the calibration data XML. This is only used for debugging.
CRs-Fixed: 2044628
Change-Id: I5f71e1e7e2e170d36b64003204620b0bf3e95ba0
|
|
Change-Id: I050988d96eccc1c3217a8f2030b333cd8d04c4d4
CRs-Fixed: 2010492
|
|
This reverts commit 4c790408b144b8ddf117a8d94661c81c86304cfc.
Change-Id: I32c48e300e8c641b196210c4412b635e1c1941f0
CRs-Fixed: 2013665
|
|
CRs-Fixed: 2010492
Change-Id: I80bb14624e9a47189777bd4c8f8847ca946df74c
|
|
- Remove hardcoded primary display from getActiveConfig() and
getDisplayAttributes() for video decoder to query the secondary
display resolution.
- Add permission for Video decoder UID to call these APIs.
Change-Id: I1ec1e19dda76f2e0e085c52450449bdc13a739fa
CRs-Fixed: 1100704
|
|
Change-Id: I4a18ac2235b6e759cbec08aff03b5fa6e399b481
CRs-Fixed: 1071400
|
|
Change-Id: I0081584d77f4bb4c6f561554e9cf8fb0f2dab471
|
|
|
|
CRs-Fixed: 1054762
Change-Id: I875a5521b45e893aaa5a53db07249d6fcaca4521
|
|
CRs-Fixed: 1054762
Change-Id: I370acf2507eaade3d4a96e956ebb5f61f659ceb6
|
|
1. Add binder and display interface to query display port information.
2. Add permission for audio client to use display services.
CRs-Fixed: 1044314
Change-Id: I67a9549cd6e01e421534dcb139a2e39672873775
|
|
|
|
This change introduces compilation flag to
compile standalone SDM libs.
Change-Id: I3f8cde50e1806c6cf157364657d77fd9a780d5e3
|
|
Use adb shell service call display.qservice 34 i32 <disp> i32 <mode>
to switch the display mode. Only valid modes in graphics.h that are
enumerated in the calibration XML will work
Change-Id: I450ea6b8ba8001d8458ea8503098f7056ff958cf
CRs-Fixed: 1034841
|
|
1. Define binder API to change layer mixer resolution.
2. Honor layer mixer resolution change request only if the hardware
supports destination scaler.
3. Give preference to panel scaling over destination scaling, as panel
scaling requires less bandwidth.
4. Disable partial update for a frame on mixer resolution change.
CRs-Fixed: 1005180
Change-Id: I3d4e48c8853a941f12703915b33c3a0a4df09af2
|
|
Merge in newer HALs not present earlier in this branch
Change-Id: I2832d00beccf86dd0929b78c6be1be5f2b0881fe
CRs-fixed: 1015411
|
|
Needed to support new SElinux policy. Remove process name in debug logs.
CRs-Fixed: 1011165
Change-Id: I561ded3b957a8f1bb5bd176c6f34b9b33c4946da
|
|
Change-Id: Ic494c2f6350da6fb5d03fbfe1f9fcfebd8b270f0
|
|
- Fix compilation issue to make IQHDMIClient accessible from SDM
- Change the log level from ERROR to WARNING if the IQHDMIClient
is not present. This is not a fatal state and can be treated as
a warning.
CRs-Fixed: 814136
Change-Id: Ia37cad912ff77c505b81c705f80c5f7daf75f9d7
|
|
Change-Id: I535b97dcc7b7de0d87ef0eb4a2b6f9a82281c80f
CRs-Fixed: 987009
|
|
Read if device need to support dynamic bandwidth limit and
provide framework for applying a new total bandwidth limit and
per pipe bandwidth limit based on application scenario. Also
provide an API to query the status of bandwidth limit transaction.
Change-Id: Iaf9676a45c8c0c0c4af00c81ce4f5d70759c02ba
|
|
Change-Id: I71e3fa3f7d44253b8e01d1eafe086b1898d65a8e
|
|
- Add support to enable/disable screen updates.
- Remove redundant updating of backlight value in HWC wrapper.
CRs-Fixed: 888000
Change-Id: Idddf2ebadb200fe205bd29b36d3fe145f35c0d38
|
|
Change-Id: I8af23b1c59aa18154db1ba5e0004dc9d23a5a9b8
|
|
- Enable HDCP libraries to communicate with SDM via a qdutils API to
indicate change in encryption level.
- Write this change on HDMI file node to trigger driver.
Change-Id: I226d4e986081b97243c80ea30c16b05ea34499c4
|
|
Implement CONTROL_PARTIAL_UPDATE binder support. DPSS module
use this api to control partial update feature.
Remove support for sdm.partial_update property as it is no
longer applicable.
Change-Id: Ib463aff0042dcfc0d0b2f296b54016b1ee70115d
|
|
Implement CONTROL_BACKLIGHT binder support.
This binder supports ability to control screen updates and
backlight brightness.
Usage:
To turn off backlight on primary
adb shell "service call display.qservice 20 i32 0"
To restore backlight on primary
adb shell "service call display.qservice 20 i32 1"
Change-Id: I5ec9277d606dcbf31f316d6f7e0c93a27806910d
|
|
Add support to be able to solely debug QDCM tool path.
Change-Id: I2160a02e95774f284c65062d97c1ae400afcba2d
|
|
|
|
-Expose qservice API to get notified when Camera is on or off.
-Set bandwidth hint to mdss based on camera launch status by
writing into fb0/mdp/bw_mode_bitmap.
-Implement camera service death notifier to recover display bw.
Change-Id: I532f44281b5d7de1d638f1cef250114a3cc952ae
|
|
Currently, value in dyn_pu reflects partial update feature enabled
for 1 and display post-processing features enabled for 0. But in
HAL, these declarations are in other way round. For consistency,
correcting these declarations.
Change-Id: Ic4abe6a8b1cdf1ca980494ed2fbe9eb7b5df6553
|
|
The display mode for the primary display can be set to either
command or video mode if the target supports this.
Syntax:
adb shell "service call display.qservice 29 i32 <DISPLAY_MODE>"
DISPLAY_MODE = 1 -> Video
2 -> Command
Change-Id: Iadf4beea8959a90a0b18f8286a094bbbdf18358a
|
|
1. Add one binder command to display.qservice to serve the
binder requests received from SDK.
2. Each subcommand will be corresponding to one command
handler. Command handler will pass the requests to
qdcm library.
3. Dynamically load qdcm library, where all apis are
implemented.
4. apply default mode function will be invoked once
bootanimation event is detected
Change-Id: I28fdf5f2561fcaffbfd3b7a1e9b136a4c372300e
|
|
Add binder support to set maximum mixer stages for each displays.
Syntax:
adb shell "service call display.qservice 13 i32 <DISPLAY_TYPE>
i32 <MAX_STAGE_COUNT>"
DISPLAY_TYPE = Set bit 1 -> To enable dump on primary display
Set bit 2 -> To enable dump on hdmi display
Set bit 3 -> To enable dump on virtual display
MAX_STAGE_COUNT = 3 -> Set the max layer mixer stages to 3.
Set max_mixer stages all displays to 3:
adb shell "service call display.qservice 13 i32 7 i32 3"
Change-Id: I10d521308077efca6a532fb679c04066bae9e8d3
|
|
|
|
When client prefer to enable PU(partial update) over PP(post
processing), delay enabling PU until PP turns off its
features completely. This change introduces hand shaking flags
between PP and HWC through binder calls. When requested to turn
on PU, we notify PP through the sys_fs node. When PP is done
shutting off it features, it acknowledges back to HWC to actually
turn on PU.
Change-Id: I72008f2313b93497f55c0435367ef62cd772c2c4
|
|
Add support for panel resolution switch. This feature makes use of
the Linux modedb feature that lists available modes in
/sys/class/graphics/fb0/modes and accepts a mode change when written
to /sys/class/graphics/fb0/mode
Clients can link to APIs exposed in display_config.h, these
internally resolve to binder calls into HWC. For debugging, mode
changes can be made over binder using shell commands.
adb shell service call display.qservice CODE ARGS
ARGS can include config index and display (only primary supported)
setActiveConfig():
adb shell service call display.qservice 25 i32 INDEX i32 0
getActiveConfig():
adb shell service call display.qservice 26 i32 0
getConfigCount():
adb shell service call display.qservice 27 i32 0
getDisplayAttributes():
adb shell service call display.qservice 28 i32 INDEX i32 0
Change-Id: I97d34cc9c0e521a3bd5c948eeea6d1e07db7b7ff
|