drm/tegra: Add tiling FB modifiers
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 8 Nov 2016 07:50:42 +0000 (16:50 +0900)
committerThierry Reding <treding@nvidia.com>
Wed, 5 Apr 2017 16:11:46 +0000 (18:11 +0200)
commit5e91144dd702d068b22a75911c06104e56cb4858
treeca429915b52d24df6fa74971166552ac7d1ce065
parentbdd2f9cd10eb842be96418cc226bc33744d358b0
drm/tegra: Add tiling FB modifiers

Add FB modifiers to allow user-space to specify that a surface is in one
of the two tiling formats supported by Tegra chips, and add support in
the tegradrm driver to handle them properly. This is necessary for the
display controller to directly display buffers generated by the GPU.

This feature is intended to replace the dedicated IOCTL enabled
by TEGRA_STAGING and to provide a non-staging alternative to that
solution.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/drm.c
drivers/gpu/drm/tegra/fb.c
include/uapi/drm/drm_fourcc.h