diff options
author | Matvii Zorin <matvii.zorin@globallogic.com> | 2020-08-11 15:15:44 +0300 |
---|---|---|
committer | Matvii Zorin <matvii.zorin@globallogic.com> | 2020-08-26 14:43:23 +0300 |
commit | ef3c797daff14f3df798fe78f2843c41f549c6c5 (patch) | |
tree | 3457a4612e5a5925af2bd62b812e7b0484bcc1cc /Android.bp | |
parent | 373de710a96450cb1bfcb678fcab0bee1078941d (diff) | |
download | drm_hwcomposer-ef3c797daff14f3df798fe78f2843c41f549c6c5.tar.gz |
drm_hwcomposer: Add backend-dependent validation for HwcDisplay class
Different DRM/KMS backends have a variable set of limitations, which is
not always exposed via DRM ioctls.
This implementation of backend-dependent validation provides a register
of platform-specific inherited backend class to the map by BackendManager
class. ValidateDisplay function is moved to generic backend
implementantion and separated into 2 additional methods.
The map key is a string that contains the corresponding DRM driver name.
During DrmHwcTwo class initialization the vendor.hwc.backend_override
system property and driver name will be checked and a backend will be set
for the appropriate display. If the map does not have any backend for the
named driver, the generic backend will be used.
Signed-off-by: Matvii Zorin <matvii.zorin@globallogic.com>
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -94,6 +94,9 @@ cc_library_static { "utils/autolock.cpp", "utils/hwcutils.cpp", + + "backend/backendmanager.cpp", + "backend/backend.cpp", ], } |