Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3b3cfcc authored by Thierry Reding's avatar Thierry Reding
Browse files

drm/tegra: Track client version



Userspace needs to know the version of the interface implemented by a
client so it can create the proper command streams. Allow individual
drivers to store this version along with the client so that it can be
returned to userspace upon opening a channel.

Acked-by: default avatarDmitry Osipenko <digetx@gmail.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 995c5a50
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -91,6 +91,7 @@ struct tegra_drm_client {
	struct host1x_client base;
	struct list_head list;

	unsigned int version;
	const struct tegra_drm_client_ops *ops;
};