OSDN Git Service

drm_hwcomposer: avoid creating release fences for invalid OutputFd
authorZach Reizner <zachr@google.com>
Sat, 14 Nov 2015 00:11:37 +0000 (16:11 -0800)
committerZach Reizner <zachr@google.com>
Sat, 14 Nov 2015 00:11:37 +0000 (16:11 -0800)
commitcb1cfc866b47c480a9fa84f6edcc5239ac99d277
treed6e02a310e7bfdb5cb40d3ac2bc2e2a1bd707b40
parent49446bc72b33b8b68352b2048657bea4a8da4a42
drm_hwcomposer: avoid creating release fences for invalid OutputFd

This change also adds a check for OutputFd to see if it is valid.

Change-Id: If992d523c707cc5e6e660de721938a26f27477d8
autofd.h
drmdisplaycomposition.cpp