drm/tegra: Add SET/GET_FLAGS IOCTLs
authorThierry Reding <treding@nvidia.com>
Tue, 10 Jun 2014 10:04:03 +0000 (12:04 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 4 Aug 2014 08:07:35 +0000 (10:07 +0200)
commit7b129087874b925901def7ae507f7d9fac406211
tree1740140bbf2220e31a32379da8e50e51b530fb3c
parent7678d71fb4bd6abe6ccb46afe7d90b3ed01ee936
drm/tegra: Add SET/GET_FLAGS IOCTLs

The DRM_TEGRA_GEM_SET_FLAGS IOCTL can be used to set the flags of a
buffer object after it has been allocated or imported. Flags associated
with a buffer object can be queried using the DRM_TEGRA_GEM_GET_FLAGS
IOCTL.

Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/drm.c
include/uapi/drm/tegra_drm.h