compositor-drm: Remove addfb warning for user buffers
authorDaniel Stone <daniels@collabora.com>
Thu, 12 Jul 2018 11:16:47 +0000 (12:16 +0100)
committerDerek Foreman <derekf@osg.samsung.com>
Fri, 27 Jul 2018 16:21:10 +0000 (11:21 -0500)
commit48687982b55771b19b958e6a8d62794c61b2d797
tree08c566f45b04e12707c0729c32a5e41daf91ef89
parent117892259014d02e3ed41d241c6068d026f4c440
compositor-drm: Remove addfb warning for user buffers

THe KMS AddFB call can fail for any reason at all: format/modifier not
suitable, stride not aligned, allocation not contiguous, etc. If this
happens with Weston's own buffers, the result is bad - no composition
output.

Failing AddFB from user-supplied buffers though, is not an error. The
user can't necessarily allocate suitable buffers, nor does it have to.
Don't spam the log with warnings when we fail on user buffers.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reported-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Derek Foreman <derek.foreman.samsung@gmail.com>
libweston/compositor-drm.c