modesetting: Create a drmmode_bo wrapper; use it for front_bo.
This code is going to be extended to support GBM BOs soon. This small abstraction removes a lot of direct dumb_bo access, so we can add that support in one place, rather than putting conditionals at every pitch/handle/etc access. Signed-off-by: Kenneth Graunke <email@example.com> Tested-by: Jason Ekstrand <firstname.lastname@example.org> Reviewed-by: Keith Packard <email@example.com>
Showing with 61 additions and 24 deletions