1
0
Fork 0
android_external_drm_hwcomp.../hwc2_device
Drew Davenport 97b5abc501 drm_hwcomposer: Add blocking SetConfig
Config changes within the same config group are intended to change
the refresh rate and are expected to be seamless, and as such are queued
up to be applied along with other frame updates such as pageflips. These
commits ought not to result in a full modeset.

For config changes that go between config groups, there might be visible
artifacts (modesets).

Introduce HwcDisplay::SetConfig to implement support for changing
between config groups. Config changes that are expected to be seamless
and not introduce jank or other visual artifacts should continue to go
through HwcDisplay::QueueConfig.

Since there may not be an appropriate client buffer available for the
initial SetConfig, allocate a CPU-writable buffer for scanout that can
be used for the first commit. The buffer can be destroyed after the
next frame is presented.

Change-Id: I48a87a070130dd2328f415719032486d9659c5b6
Signed-off-by: Drew Davenport <ddavenport@google.com>
2024-11-14 10:51:34 -07:00
..
DrmHwcTwo.cpp drm_hwcomposer: Plumb link status BAD to OnHotplugEvent composer callback 2024-10-15 21:17:27 +00:00
DrmHwcTwo.h drm_hwcomposer: Plumb link status BAD to OnHotplugEvent composer callback 2024-10-15 21:17:27 +00:00
hwc2_device.cpp drm_hwcomposer: Implement getDisplayConfigurations 2024-09-13 10:59:13 -06:00
HwcDisplay.cpp drm_hwcomposer: Add blocking SetConfig 2024-11-14 10:51:34 -07:00
HwcDisplay.h drm_hwcomposer: Add blocking SetConfig 2024-11-14 10:51:34 -07:00
HwcDisplayConfigs.cpp drm_hwcomposer: Replace LOG_TAG with drmhwc 2024-07-19 17:42:41 +00:00
HwcDisplayConfigs.h drm_hwcomposer: Virtual display acceleration support 2023-10-01 15:00:59 +03:00
HwcLayer.cpp drm_hwcomposer: Stop using HWC2 for setting layer buffer 2024-10-18 10:47:01 -06:00
HwcLayer.h drm_hwcomposer: Stop using HWC2 for setting layer buffer 2024-10-18 10:47:01 -06:00
meson.build drm_hwcomposer: Extract DrmHwc abstract base class 2024-08-12 12:27:10 -06:00