drm/tegra: Implement more tiling modes
authorThierry Reding <treding@nvidia.com>
Tue, 3 Jun 2014 12:48:12 +0000 (14:48 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 4 Aug 2014 08:07:34 +0000 (10:07 +0200)
commitc134f019abcfaa1cb6e07f6154e92a4f8ce8ddd8
tree0d26c79eefb921fd0841b9d48c48b589a3ad2f8a
parent0c6b1e4ba74f58ee1507d456e52c630b4b8ff174
drm/tegra: Implement more tiling modes

Tegra124 supports a block-linear mode in addition to the regular pitch
linear and tiled modes. Add support for these by moving the internal
representation into a structure rather than a simple flag.

Tested-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/tegra/dc.h
drivers/gpu/drm/tegra/drm.h
drivers/gpu/drm/tegra/fb.c
drivers/gpu/drm/tegra/gem.c
drivers/gpu/drm/tegra/gem.h