OSDN Git Service

drm_hwcomposer: do not queue layers map for virtual display
authorHaixia Shi <hshi@chromium.org>
Thu, 15 Oct 2015 23:21:48 +0000 (16:21 -0700)
committerHaixia Shi <hshi@chromium.org>
Fri, 16 Oct 2015 00:10:20 +0000 (17:10 -0700)
commit2fddd37d1f8eeb410aa2499ff582220b55dd80d6
treea5ab6968044a4fe5a2a7bbb8010e98165db07239
parentd75d8d2bf2f53511b1826452c2a8547b6a338cc7
drm_hwcomposer: do not queue layers map for virtual display

It is invalid to add a DrmCompositionDisplayLayersMap for the virtual
display because the corresponding physical display resources (such as
crtc, connector, etc.) do not exist.

BUG=24985282
TEST=verify that no crash occurs

Change-Id: I24a6671e7f94032a38104ae7ed3eb0da79479601
hwcomposer.cpp