Skip to content

Commit

Permalink
drm/tegra: Track client version
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thierry Reding committed May 18, 2018
1 parent 995c5a5 commit f3b3cfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/tegra/drm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit f3b3cfc

Please sign in to comment.