]> asedeno.scripts.mit.edu Git - linux.git/commit
gpu: host1x: Request channels for clients, not devices
authorThierry Reding <treding@nvidia.com>
Mon, 18 Jun 2018 12:01:51 +0000 (14:01 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 28 Oct 2019 10:18:33 +0000 (11:18 +0100)
commitcaccddcfc4b4de75930df2e8f7fd0c66556b13ff
treebac6706f2105a3557acea1b2a634bc0e99c0fa21
parent8f45f5071ad2be6ace6f77892e0015e89fd42028
gpu: host1x: Request channels for clients, not devices

A struct device doesn't carry much information that a channel might be
interested in, but the client very much does. Request channels for the
clients rather than their parent devices and store a pointer to them
in order to have that information available when needed.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/gr2d.c
drivers/gpu/drm/tegra/gr3d.c
drivers/gpu/drm/tegra/vic.c
drivers/gpu/host1x/channel.c
drivers/gpu/host1x/channel.h
include/linux/host1x.h