linux/drivers/gpu/drm/tegra
Thierry Reding 268892cb63 drm/tegra: Sanitize format modifiers
The existing format modifier definitions were merged prematurely, and
recent work has unveiled that the definitions are suboptimal in several
ways:

  - The format specifiers, except for one, are not Tegra specific, but
    the names don't reflect that.
  - The number space is split into two, reserving 32 bits for some
    "parameter" which most of the modifiers are not going to have.
  - Symbolic names for the modifiers are not using the standard
    DRM_FORMAT_MOD_* prefix, which makes them awkward to use.
  - The vendor prefix NV is somewhat ambiguous.

Fortunately, nobody's started using these modifiers, so we can still fix
the above issues. Do so by using the standard prefix. Also, remove TEGRA
from the name of those modifiers that exist on NVIDIA GPUs as well. In
case of the block linear modifiers, make the "parameter" smaller (4
bits, though only 6 values are valid) and don't let that leak into any
of the other modifiers.

Finally, also use the more canonical NVIDIA instead of the ambiguous NV
prefix.

Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-12-13 13:42:02 +01:00
..
dc.c Merge airlied/drm-next into drm-misc-next 2017-11-21 14:17:56 +01:00
dc.h drm/tegra: dc: Move some declarations to dc.h 2017-10-20 14:19:54 +02:00
dpaux.c drm/tegra: dpaux: Trace register accesses 2017-08-17 17:57:16 +02:00
dpaux.h
drm.c main drm pull request for v4.15 2017-11-15 20:42:10 -08:00
drm.h drm/tegra: hdmi: Add cec-notifier support 2017-10-20 14:19:54 +02:00
dsi.c drm/tegra: Changes for v4.14-rc1 2017-08-21 17:37:33 +10:00
dsi.h
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: Sanitize format modifiers 2017-12-13 13:42:02 +01:00
gem.c drm/tegra: Changes for v4.14-rc1 2017-08-21 17:37:33 +10:00
gem.h drm/tegra: Use .dumb_map_offset and .dumb_destroy defaults 2017-08-16 20:13:48 +02:00
gr2d.c gpu: host1x: syncpt: Request syncpoints per client 2017-10-20 14:19:51 +02:00
gr2d.h
gr3d.c gpu: host1x: syncpt: Request syncpoints per client 2017-10-20 14:19:51 +02:00
gr3d.h
hdmi.c drm/tegra: hdmi: Add cec-notifier support 2017-10-20 14:19:54 +02:00
hdmi.h drm/tegra: hdmi: Enable audio over HDMI 2016-07-04 11:34:31 +02:00
Kconfig drm/tegra: hdmi: Add cec-notifier support 2017-10-20 14:19:54 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mipi-phy.c
mipi-phy.h
output.c Merge airlied/drm-next into drm-misc-next 2017-11-21 14:17:56 +01:00
rgb.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
sor.c drm/tegra: sor: Reimplement pad clock 2017-11-20 13:23:54 +01:00
sor.h drm/tegra: sor: Do not support deep color modes 2016-07-04 11:33:21 +02:00
trace.c drm/tegra: dc: Trace register accesses 2017-08-17 17:57:14 +02:00
trace.h drm/tegra: trace: Fix path to include 2017-09-26 11:08:17 +02:00
vic.c drm/tegra: vic: Use of_device_get_match_data() 2017-10-20 14:19:54 +02:00
vic.h drm/tegra: Add VIC support 2017-04-05 18:11:48 +02:00