OSDN Git Service

drm_hwcomposer: Add property that allows disabling of hardware scaling
authorRoman Stratiienko <roman.stratiienko@globallogic.com>
Fri, 20 Dec 2019 15:04:01 +0000 (17:04 +0200)
committerJohn Stultz <john.stultz@linaro.org>
Wed, 19 Feb 2020 06:53:34 +0000 (06:53 +0000)
commit65f2ba80df03635a75c7ecd70f8a39c0d76bd425
tree01dafbff93cb64a67b86665a2cd6b3404f718401
parent8c7229dd1357592e63c6a2fe3c5ef80399af92cc
drm_hwcomposer: Add property that allows disabling of hardware scaling

Set `hwc.drm.scale_with_gpu` property to 1 in case composer hardware
do not have scaling support.

That will force layers that require scaling to be merged by GPU,
and allow other layers to be merged by DRM.

Signed-off-by: Roman Stratiienko <roman.stratiienko@globallogic.com>
drm/resourcemanager.cpp
drmhwctwo.cpp
include/drmhwctwo.h
include/resourcemanager.h