gbm: Create a gbm_device getter for stride
authorBen Widawsky <ben@bwidawsk.net>
Wed, 26 Oct 2016 19:26:51 +0000 (12:26 -0700)
committerBen Widawsky <ben@bwidawsk.net>
Thu, 9 Mar 2017 23:35:44 +0000 (15:35 -0800)
commited4cf2440d87b512f9dcf7cfc3f408c151854af9
treed1992362c0a846d6c828499dad74b56afbc417b0
parentf9567ab435217a72cbae628336ead84dc0b2a803
gbm: Create a gbm_device getter for stride

This will be used so we can query information per plane.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Cc: Jason Ekstrand <jason@jlekstrand.net>
Acked-by: Daniel Stone <daniels@collabora.com>
src/gbm/backends/dri/gbm_dri.c
src/gbm/main/gbm.c
src/gbm/main/gbmint.h