drm/vc4: Add get/set tiling ioctls.
authorEric Anholt <eric@anholt.net>
Mon, 5 Jun 2017 21:00:45 +0000 (14:00 -0700)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:54:20 +0000 (15:54 +0100)
commit8ae3dc5a863860d4422b67b536a95c209449a6c2
tree884a33d80b9494d858fc03957b656de78555915d
parent13683efdc2ce9e7199be4732419f24b6f9a37f3a
drm/vc4: Add get/set tiling ioctls.

This allows mesa to set the tiling format for a BO and have that
tiling format be respected by mesa on the other side of an
import/export (and by vc4 scanout in the kernel), without defining a
protocol to pass the tiling through userspace.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_bo.c
drivers/gpu/drm/vc4/vc4_drv.c
drivers/gpu/drm/vc4/vc4_drv.h
drivers/gpu/drm/vc4/vc4_kms.c
include/uapi/drm/vc4_drm.h