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>
Showing
- drivers/gpu/drm/tegra/gr2d.c 1 addition, 1 deletiondrivers/gpu/drm/tegra/gr2d.c
- drivers/gpu/drm/tegra/gr3d.c 1 addition, 1 deletiondrivers/gpu/drm/tegra/gr3d.c
- drivers/gpu/drm/tegra/vic.c 1 addition, 1 deletiondrivers/gpu/drm/tegra/vic.c
- drivers/gpu/host1x/channel.c 7 additions, 6 deletionsdrivers/gpu/host1x/channel.c
- drivers/gpu/host1x/channel.h 1 addition, 0 deletionsdrivers/gpu/host1x/channel.h
- include/linux/host1x.h 1 addition, 1 deletioninclude/linux/host1x.h
Loading
Please register or sign in to comment