aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/tegra/dc.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2018-03-15 16:44:04 +0100
committerThierry Reding <treding@nvidia.com>2018-03-15 19:06:11 +0100
commite90124cb46bdb6b8dd642e0066207ace0fc3f972 (patch)
tree58692987e1538b2ee254ab48963e744e1c74dcf4 /drivers/gpu/drm/tegra/dc.h
parentdrm/tegra: dc: Dedicate overlay plane to cursor on older Tegra's (diff)
downloadwireguard-linux-e90124cb46bdb6b8dd642e0066207ace0fc3f972.tar.xz
wireguard-linux-e90124cb46bdb6b8dd642e0066207ace0fc3f972.zip
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>
Diffstat (limited to 'drivers/gpu/drm/tegra/dc.h')
-rw-r--r--drivers/gpu/drm/tegra/dc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/dc.h b/drivers/gpu/drm/tegra/dc.h
index 096a81ad6d8d..d2b50d32de4d 100644
--- a/drivers/gpu/drm/tegra/dc.h
+++ b/drivers/gpu/drm/tegra/dc.h
@@ -66,6 +66,7 @@ struct tegra_dc_soc_info {
unsigned int num_primary_formats;
const u32 *overlay_formats;
unsigned int num_overlay_formats;
+ const u64 *modifiers;
};
struct tegra_dc {