OSDN Git Service

drm_hwcomposer: Allow NULL crtcs in display composition
authorSean Paul <seanpaul@chromium.org>
Fri, 4 Sep 2015 05:33:06 +0000 (01:33 -0400)
committerSean Paul <seanpaul@chromium.org>
Fri, 4 Sep 2015 05:33:06 +0000 (01:33 -0400)
commit2143d3bc9da37525cacd432cd51b6e4f459c47a2
tree03e03bef2d9f9dbf902ebd84b93034a4826bbec7
parent3c32ca686cfb7bc7384e6c675610b5898d4c7ba0
drm_hwcomposer: Allow NULL crtcs in display composition

In cases where we have displays which do not have a mode,
the crtc will be NULL. This shouldn't fail the composition
initialization.

Change-Id: I1a6acb72cd3f614b5a7c854ba61be1539efa4bea
Signed-off-by: Sean Paul <seanpaul@chromium.org>
drmcomposition.cpp
drmdisplaycomposition.cpp