OpenCloudOS-Kernel/drivers/gpu/drm/tegra
Ben Widawsky e6fc3b6855 drm: Plumb modifiers through plane init
This is the plumbing for supporting fb modifiers on planes. Modifiers
have already been introduced to some extent, but this series will extend
this to allow querying modifiers per plane. Based on this, the client to
enable optimal modifications for framebuffers.

This patch simply allows the DRM drivers to initialize their list of
supported modifiers upon initializing the plane.

v2: A minor addition from Daniel

v3:
* Updated commit message
* s/INVALID/DRM_FORMAT_MOD_INVALID (Liviu)
* Remove some excess newlines (Liviu)
* Update comment for > 64 modifiers (Liviu)

v4: Minor comment adjustments (Liviu)

v5: Some new platforms added due to rebase

v6: Add some missed plane inits (or maybe they're new - who knows at
this point) (Daniel)

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Daniel Stone <daniels@collabora.com> (v2)
Reviewed-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Daniel Stone <daniels@collabora.com>
2017-08-01 17:50:06 +01:00
..
Kconfig drm/tegra: Enable IOVA API when IOMMU support is enabled 2017-04-05 18:11:43 +02:00
Makefile drm/tegra: Add VIC support 2017-04-05 18:11:48 +02:00
dc.c drm: Plumb modifiers through plane init 2017-08-01 17:50:06 +01:00
dc.h drm/tegra: sor: Add HDMI support 2015-08-13 13:49:37 +02:00
dpaux.c drm/tegra: dpaux: Fix error handling 2016-11-07 12:58:12 +01:00
dpaux.h drm/tegra: dpaux: Configure pads as I2C by default 2015-08-13 13:47:47 +02:00
drm.c drm/tegra: Handle drm_atomic_helper_swap_state failure 2017-07-26 13:22:42 +02:00
drm.h gpu: host1x: Forbid unrelated SETCLASS opcode in the firewall 2017-06-15 14:23:50 +02:00
dsi.c drm/tegra: dsi: Enhance runtime power management 2016-08-24 15:58:57 +02:00
dsi.h drm/tegra: dsi: Add Tegra210 support 2015-08-13 13:47:45 +02:00
falcon.c drm/tegra: Add falcon helper library 2017-04-05 18:11:47 +02:00
falcon.h drm/tegra: Add falcon helper library 2017-04-05 18:11:47 +02:00
fb.c drm/tegra: Changes for v4.12-rc1 2017-05-05 11:47:01 +10:00
gem.c drm/tegra: Check for malformed offsets and sizes in the 'submit' IOCTL 2017-06-15 14:16:07 +02:00
gem.h drm/tegra: Check for malformed offsets and sizes in the 'submit' IOCTL 2017-06-15 14:16:07 +02:00
gr2d.c gpu: host1x: Refactor channel allocation code 2017-06-15 14:25:38 +02:00
gr2d.h drm/tegra: Use symbolic names for gr2d registers 2013-10-31 09:55:44 +01:00
gr3d.c gpu: host1x: Refactor channel allocation code 2017-06-15 14:25:38 +02:00
gr3d.h drm/tegra: Add 3D support 2013-10-31 09:55:45 +01:00
hdmi.c drm: handle HDMI 2.0 VICs in AVI info-frames 2017-07-14 21:23:54 +03:00
hdmi.h drm/tegra: hdmi: Enable audio over HDMI 2016-07-04 11:34:31 +02:00
mipi-phy.c drm/tegra: dsi: Adjust D-PHY timing 2015-01-27 10:14:40 +01:00
mipi-phy.h drm/tegra: Relicense under GPL v2 2014-04-04 09:12:51 +02:00
output.c drm/tegra: Changes for v4.8-rc1 2016-07-16 11:23:50 +10:00
rgb.c drm: tegra: Rely on the default ->best_encoder() behavior 2016-06-10 17:24:48 +02:00
sor.c drm: handle HDMI 2.0 VICs in AVI info-frames 2017-07-14 21:23:54 +03:00
sor.h drm/tegra: sor: Do not support deep color modes 2016-07-04 11:33:21 +02:00
vic.c gpu: host1x: Refactor channel allocation code 2017-06-15 14:25:38 +02:00
vic.h drm/tegra: Add VIC support 2017-04-05 18:11:48 +02:00