gbm: Explicitly disallow a planar dumb BO
authorBen Widawsky <ben@bwidawsk.net>
Tue, 7 Mar 2017 23:06:23 +0000 (15:06 -0800)
committerBen Widawsky <ben@bwidawsk.net>
Thu, 9 Mar 2017 23:35:44 +0000 (15:35 -0800)
commit770b06588f79abe44d4fa1128759c45d0496362e
treef8d83e31fc3740102dfb15588b8b08286968bf29
parent29e2ba0756d0cfaef8658b38f2c7bc9fd45a2466
gbm: Explicitly disallow a planar dumb BO

As more GBM functionality support planes is being evaluated, it becomes
clear that a dumb bo can never actually be planar. It's questionable
whether it was ever feasible to do this, and later functionality will
implicitly assume a dumb BO is non-planar.

v2: Include stdbool.h

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Acked-by: Daniel Stone <daniels@collabora.com>
src/gbm/backends/dri/gbm_dri.c