OSDN Git Service

vc4: Warn instead of abort()ing on exec ioctl failures.
authorEric Anholt <eric@anholt.net>
Sat, 12 Dec 2015 03:06:09 +0000 (19:06 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 15 Dec 2015 20:02:44 +0000 (12:02 -0800)
commit02bcb443ee39cec1b61e5ba3e466471f3668f536
tree643d3b413f12ddfd944d5beafd2326405ee6e40c
parenta2140b05710cd7ca21242a9866d58ca1b5ac86cd
vc4: Warn instead of abort()ing on exec ioctl failures.

It's really harsh to abort() the X Server because of a momentary failure
(particularly -ENOMEM).  I don't see a way to pass an -ENOMEM up the stack
from here, but we can at least log to stderr before proceeding on.

Cc: "11.1" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/vc4/vc4_job.c