Skip to content
Commit 48687982 authored by Daniel Stone's avatar Daniel Stone Committed by Derek Foreman
Browse files

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: default avatarDaniel Stone <daniels@collabora.com>
Reported-by: default avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: default avatarDerek Foreman <derek.foreman.samsung@gmail.com>
parent 11789225
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment