mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 05:34:00 +08:00
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: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
995c5a509f
commit
f3b3cfcc3f
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user