OSDN Git Service
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Mauro Rossi [Sat, 10 Apr 2021 19:07:51 +0000 (21:07 +0200)]
Link against android.hardware.graphics.composer@2.1-resources
Fixes the following building errors:
FAILED: out/target/product/x86_64/obj/EXECUTABLES/android.hardware.graphics.composer@2.1-service.drmfb_intermediates/LINKED/and
roid.hardware.graphics.composer@2.1-service.drmfb
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::addVirtualDisplay(unsigne
d long, unsigned int)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::removeDisplay(unsigned lo
ng)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::addLayer(unsigned long, u
nsigned long, unsigned int)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::removeLayer(unsigned long
, unsigned long)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::setDisplayClientTargetCac
heSize(unsigned long, unsigned int)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::create()
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::clear(std::__1::function<
void (unsigned long, bool, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const&)>)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::addPhysicalDisplay(unsign
ed long)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::setDisplayMustValidateSta
te(unsigned long, bool)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::getDisplayClientTarget(un
signed long, unsigned int, bool, native_handle const*, native_handle const**, android::hardware::graphics::composer::V2_1::hal:
:ComposerResources::ReplacedHandle*)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerHandleImporter::freeBuffer(native_ha
ndle const*)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerHandleImporter::freeStream(native_ha
ndle const*)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::getDisplayOutputBuffer(un
signed long, unsigned int, bool, native_handle const*, native_handle const**, android::hardware::graphics::composer::V2_1::hal:
:ComposerResources::ReplacedHandle*)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::getLayerBuffer(unsigned l
ong, unsigned long, unsigned int, bool, native_handle const*, native_handle const**, android::hardware::graphics::composer::V2_
1::hal::ComposerResources::ReplacedHandle*)
...
ld.lld: error: undefined symbol: android::hardware::graphics::composer::V2_1::hal::ComposerResources::getLayerSidebandStream(un
signed long, unsigned long, native_handle const*, native_handle const**, android::hardware::graphics::composer::V2_1::hal::Comp
oserResources::ReplacedHandle*)
...
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
Mauro Rossi [Sat, 10 Apr 2021 19:04:56 +0000 (21:04 +0200)]
Link against android.hardware.graphics.mapper@4.0
Mauro Rossi [Sat, 16 May 2020 09:49:58 +0000 (11:49 +0200)]
Merge remote-tracking branch 'goffioul/master'
Michael Goffioul [Wed, 9 Oct 2019 17:51:07 +0000 (13:51 -0400)]
Add CAP_NET_ADMIN capability
This is required to use uevent with a buffer size that is larger than
net.core.rmem_max.
See https://android.googlesource.com/platform/system/core/+/
41aa2c3703ece8c7e8f869dbb74aaf68aeca2310
Michael Goffioul [Wed, 9 Oct 2019 15:58:16 +0000 (11:58 -0400)]
Always enable vsync thread when requested by surfaceflinger
There is an issue with surfaceflinger at startup whereby it needs at
least 2 vsync events in order to compute the vsync period. If these
events do not come after 1s timeout, it'll fake a vsync event, leading
to a crash (mod-by-0 exception due to vsync period being 0).
Michael Goffioul [Wed, 9 Oct 2019 15:56:55 +0000 (11:56 -0400)]
Link against android.hardware.graphics.mapper@3.0
Mauro Rossi [Sun, 9 Jun 2019 22:26:46 +0000 (00:26 +0200)]
disable drmfb-composer service by default
In order to start the service at runtime in init.sh
lambdadroid [Wed, 8 May 2019 10:12:13 +0000 (12:12 +0200)]
Android.mk: Allow setting a custom minigbm path
lambdadroid [Sun, 21 Apr 2019 12:56:24 +0000 (14:56 +0200)]
sepolicy: Add simple sepolicy for drmfb-composer
lambdadroid [Wed, 16 Jan 2019 18:10:39 +0000 (19:10 +0100)]
Avoid logging handlePageFlip() warning after disconnect
This usually happens once after disconnecting a display, because
the disconnection code resets mFlipPending (in case the flip never
succeeds successfully). We can just ignore the warning in this case.
lambdadroid [Wed, 16 Jan 2019 17:53:12 +0000 (18:53 +0100)]
Avoid file descriptor leak of acquire fence for client target
In most cases, the fence was closed in presentDisplay(). However,
presentDisplay() is not necessarily called after setClientTarget().
This changes mAcquireFence to a base::unique_fd to make sure the
previous one is always closed before a new one is assigned.
lambdadroid [Sun, 13 Jan 2019 13:27:10 +0000 (14:27 +0100)]
Add .drmfb suffix to service name in init file
This is to avoid conflicts if the default composer service is also
installed.
lambdadroid [Fri, 11 Jan 2019 16:26:14 +0000 (17:26 +0100)]
Fix file descriptor leak of layer buffer acquire fences
Even if the layer buffers are not used at the moment (because we
always fallback to client composition), the acquire fences still
need to be closed to avoid leaking file descriptors.
During client composition, SurfaceFlinger will wait for the
layer buffers if necessary.
lambdadroid [Wed, 9 Jan 2019 14:45:26 +0000 (15:45 +0100)]
Add README
lambdadroid [Tue, 8 Jan 2019 20:47:24 +0000 (21:47 +0100)]
Implement DRM hotplug events
lambdadroid [Sun, 6 Jan 2019 18:24:33 +0000 (19:24 +0100)]
Implement vsync events
lambdadroid [Fri, 4 Jan 2019 19:36:25 +0000 (20:36 +0100)]
Add support to import framebuffers from minigbm buffers
The buffers are checked at runtime to handle both allocator
implementations transparently without having to re-compile.
lambdadroid [Wed, 2 Jan 2019 20:37:16 +0000 (21:37 +0100)]
Replace Android.bp with Android.mk
This is in prepration of conditional compilation of a minigbm importer.
lambdadroid [Mon, 31 Dec 2018 16:53:44 +0000 (17:53 +0100)]
Initial Commit