CRTC ROI is set to full screen during power off. if SetActiveConfig()
called before SetPowerMode off, CRTC ROI is set to full screen based
on old resolution mode which results in failure. Hence set the new
connector mode as a part of SetPowerMode to avoid this.
Change-Id: Id3b16113a8f944b6fb839f23f6af8b56bba69fdc
CRs-Fixed: 2211483
New resolution mode being set as a part of next commit, if
getActiveConfig() is called before the next commit sdm provides
the old config that results in VTS failure. Hence return the pending
config instead of the current config.
Change-Id: I18660916dae1c9fc8b3390afed1b94d8448f5966
CRs-Fixed: 2211483
When HDR playback off, only allow sdr mode which is
set by SetColorMode in SDM to restore.
If the mode was set by native QDCM API, it can't to
restore it.
Get the active color mode which is can be set by
SetColorMode or native QDCM API before switch to
HDR mode, then restore it when HDR playback off.
Change-Id: Ifcd5f92fa687eac412a89a4a7efa8f5bf777564f
CRs-Fixed: 2169148
HDR support capabilities were populated to SF, when panel and target
supports HDR. At SF, HDR layer is forced to GPU composition with new
HDR solution, if vendor does not support HDR. This change will populate
marking HDR support to true (for all display types) when primary panel
is internal.
Change-Id: I8305ae672cf8a721abf25ce026f21dbcbbb17928
If VNDK version is not enabled, the vendor_available flag
only installs the library in the system partition
Change-Id: If49b05a1cb04472e9d4fecb98ba8b56a18029896
-- Compute sanitized metadata refresh rate.
-- Populate display's operating refresh rate to all
the layers that donot support metadata refresh rate.
Change-Id: Iaf17e4e10da543e110fcf6ba7648d60807069f98
In HDR playback case, colortransform is not applied, if it was set already.
This change will help restore color transform for HDR playback.
Change-Id: I3cf6f9eb7c5632e8622ccec2c0c40e3b51e8ad9b
Remove USE_COLOR_METADATA macro from all places
and execute color_metadata specific code unconditionally.
Change-Id: I7980fbb8bc64b82bce66949d0db440d3ab9bf0c4
CRs-Fixed: 2205473
We don't know how to handle blending when scRGB layers show up.
Fallback entirely to GPU.
Bug: 72125973
Change-Id: Ib01ac0c920bd34f011f0a4d3e76e71d4c7b036e2
- Drop idle timeout event if it occurs between prepare()
and commit() i.e. device is not really in idle state
since a new refresh cycle has already started.
Change-Id: If66353ac38bd3a5463fb7fa002e61fb8ed7c80d8
CRs-Fixed: 2181941