linux-hardened/drivers/gpu/drm/tegra
Thierry Reding 7678d71fb4 drm/tegra: Add SET/GET_TILING IOCTLs
Currently the tiling parameters of buffer objects can only be set at
allocation time, and only a single tiled mode is supported. This new
DRM_TEGRA_GEM_SET_TILING IOCTL allows more modes to be set and also
allows the tiling mode to be changed after the allocation. This will
enable the Tegra DRM driver to import buffers from a GPU and directly
scan them out by configuring the display controller appropriately.

To complement this, the DRM_TEGRA_GEM_GET_TILING IOCTL can query the
current tiling mode of a buffer object. This is necessary when importing
buffers via handle (as is done in Mesa for example) so that userspace
can determine the proper parameters for the 2D or 3D engines.

Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-08-04 10:07:34 +02:00
..
dc.c drm/tegra: Implement more tiling modes 2014-08-04 10:07:34 +02:00
dc.h drm/tegra: Implement more tiling modes 2014-08-04 10:07:34 +02:00
dpaux.c drm/tegra: dp - Mark the connector as hotplug capable 2014-06-05 23:14:48 +02:00
dpaux.h drm/tegra: dp: Support address-only I2C-over-AUX transactions 2014-04-08 16:12:36 +02:00
drm.c drm/tegra: Add SET/GET_TILING IOCTLs 2014-08-04 10:07:34 +02:00
drm.h drm/tegra: Implement more tiling modes 2014-08-04 10:07:34 +02:00
dsi.c drm/tegra: dsi - Handle non-continuous clock flag 2014-08-04 10:07:33 +02:00
dsi.h drm/tegra: dsi - Use internal pixel format 2014-06-05 23:09:26 +02:00
fb.c drm/tegra: Implement more tiling modes 2014-08-04 10:07:34 +02:00
gem.c drm/tegra: Implement more tiling modes 2014-08-04 10:07:34 +02:00
gem.h drm/tegra: Implement more tiling modes 2014-08-04 10:07:34 +02:00
gr2d.c drm/tegra: Remove host1x drm_bus implementation 2014-06-05 23:14:46 +02:00
gr2d.h drm/tegra: Use symbolic names for gr2d registers 2013-10-31 09:55:44 +01:00
gr3d.c drm/tegra: Remove host1x drm_bus implementation 2014-06-05 23:14:46 +02:00
gr3d.h drm/tegra: Add 3D support 2013-10-31 09:55:45 +01:00
hdmi.c drm/tegra: Remove host1x drm_bus implementation 2014-06-05 23:14:46 +02:00
hdmi.h drm/tegra: hdmi - Disable LVDS mode 2014-06-05 23:09:25 +02:00
Kconfig drm/tegra: Make legacy fbdev support optional 2013-12-20 15:56:05 +01:00
Makefile drm/tegra: Remove host1x drm_bus implementation 2014-06-05 23:14:46 +02:00
mipi-phy.c drm/tegra: Relicense under GPL v2 2014-04-04 09:12:51 +02:00
mipi-phy.h drm/tegra: Relicense under GPL v2 2014-04-04 09:12:51 +02:00
output.c drm: add register and unregister functions for connectors 2014-06-19 08:55:28 +02:00
rgb.c drm/tegra: dc - Compute shift clock divider in output drivers 2014-06-05 23:09:33 +02:00
sor.c drm/tegra: sor - missing unlock on error 2014-08-04 10:07:33 +02:00
sor.h drm/tegra: sor - Add CRC debugfs support 2014-06-05 23:09:17 +02:00