1
0
Fork 0
Commit graph

7 commits

Author SHA1 Message Date
Roman Stratiienko
57ba08add7 drm_hwcomposer: CI: Upgrade Ubuntu and clang version
Why:
The aospless file from Android-15 contains compiler flags that
clang-15 does not understand.

Additionally, new tidy findings were suppressed.
It would be nice to fix them in the future instead.

Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
2024-10-17 02:13:14 +03:00
Drew Davenport
7f1761b7c7 drm_hwcomposer: Use hwc3 version 3
Add stubs for new APIs. Bump the version number in the manifest
fragment.

Update Docker configuration to use new aospless tarball that contains
the required build dependencies for hwc3 v3.

Change-Id: I521f649c2f820f54bc3c6adcda8e17d5ab3112e1
Signed-off-by: Drew Davenport <ddavenport@google.com>
2024-09-13 10:32:43 -06:00
Dennis Tsiang
33f0eceb58 drm_hwcomposer: Add hwc3 frontend stub
Adds a stub implementation of the HWC3 interface and service.
This is a barebones implementation of HWC3 interface that should contain
all the necessary code to build a HWC3 module but provides no
functionality.

The project [1] was used as a reference.
[1]: https://android.googlesource.com/platform/hardware/google/graphics/common/+/refs/tags/android-13.0.0_r18/hwc3/

Change-Id: I99754bb72f12183a94b24b7182cb7857173b31d2
Co-authored-by: Roman Stratiienko <r.stratiienko@gmail.com>
Signed-off-by: Dennis Tsiang <dennis.tsiang@arm.com>
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Signed-off-by: Normunds Rieksts <normunds.rieksts@arm.com>
Signed-off-by: Drew Davenport <ddavenport@google.com>
2024-08-30 22:15:14 +00:00
Roman Stratiienko
492739c5b3 drm_hwcomposer: Fix dockerfile
Host and container user IDs must be the same to avoid permission issues.

Fixes: 87b716c070 ("drm_hwcomposer: CI: Update runner os to ubuntu 23.04")
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
2023-10-15 01:39:09 +03:00
Roman Stratiienko
87b716c070 drm_hwcomposer: CI: Update runner os to ubuntu 23.04
Ubuntu 22.10 is no longer supported and can't be used as a runner OS.

Change-Id: Ib52c3849442dfcedb6a94c5e7c7bbff948e5060c
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
2023-09-20 00:23:32 +03:00
Roman Stratiienko
2bf68c3749 drm_hwcomposer: Add meson build to CI
Now CI is building drm_hwcomposer for arm64 arch and generates
ready-to-deploy artifacts.

Dependencies for meson cross build were extracted from Android-13
using GloDroid/aospext project [1].

./build_deploy.sh script was migrated into Makefile and no longer
require AOSP to work. Usage example:

    make build_deploy

Only arm64 platform is supported at this moment.
Other platforms will be added later.

[1]: https://github.com/GloDroid/aospext
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
2023-01-04 17:17:36 +02:00
Roman Stratiienko
3295719124 drm_hwcomposer: Add support for running CI locally using docker
Prior to this commit running local CI script required the latest non-LTS
ubuntu installed.

To run CI on host run:

    make local_presubmit

To run CI within docker container run:

    make ci

With this commit we're also setting the stage for meson build.

Change-Id: I759c35ef8da306de8759f290c11c39c4b237bb8c
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
2022-12-19 19:12:44 +02:00