OSDN Git Service

drm_hwcomposer: Disable planes on frame failure
authorSean Paul <seanpaul@chromium.org>
Tue, 13 Oct 2015 19:47:22 +0000 (15:47 -0400)
committerSean Paul <seanpaul@chromium.org>
Tue, 13 Oct 2015 19:55:04 +0000 (15:55 -0400)
commit7b1e4bc9186b3920cf67bab4f84af59b93118319
tree9ebe60194ec730c2136ba6a6e46b935f657762a4
parent971be15979d75c681054d1433c898969f267ed53
drm_hwcomposer: Disable planes on frame failure

When a frame fails, disable all active planes for the display
and signal the release fences. This avoids the situation where
we might end up frozen b/c someone is waiting for the active
fences to signal.

BUG=chrome-os-partner:46301
TEST=Tested on smaug with a kernel that fails every 1000 frames

Change-Id: I3cd4ad4f22801068465b2c6278e96027b5a7e3c5
Signed-off-by: Sean Paul <seanpaul@chromium.org>
drmdisplaycompositor.cpp
drmdisplaycompositor.h