提交 f3b3cfcc 编写于 作者: T Thierry Reding

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: NDmitry Osipenko <digetx@gmail.com>
Signed-off-by: NThierry Reding <treding@nvidia.com>
上级 995c5a50
...@@ -91,6 +91,7 @@ struct tegra_drm_client { ...@@ -91,6 +91,7 @@ struct tegra_drm_client {
struct host1x_client base; struct host1x_client base;
struct list_head list; struct list_head list;
unsigned int version;
const struct tegra_drm_client_ops *ops; const struct tegra_drm_client_ops *ops;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册