drm/tegra: plane: Support format modifiers
authorThierry Reding <treding@nvidia.com>
Thu, 15 Mar 2018 15:44:04 +0000 (16:44 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 15 Mar 2018 18:06:11 +0000 (19:06 +0100)
commite90124cb46bdb6b8dd642e0066207ace0fc3f972
tree58692987e1538b2ee254ab48963e744e1c74dcf4
parent9f446d83b233d2773fd934eed41d795484a08422
drm/tegra: plane: Support format modifiers

Pass the list of valid format modifiers to planes upon initialization
and implement the ->format_mod_supported() callback so that userspace
can query for the valid combinations of formats and modifiers.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/tegra/dc.h
drivers/gpu/drm/tegra/hub.c
drivers/gpu/drm/tegra/plane.c