gpu: host1x: Add direction flags to relocations
authorThierry Reding <treding@nvidia.com>
Mon, 28 Oct 2019 12:37:11 +0000 (13:37 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 29 Oct 2019 14:04:34 +0000 (15:04 +0100)
commitab4f81bfc2a8d429130182f8ea3f29a8b1754931
treef613567c85c17f8e0f96296dcfc722f9a3a1d633
parent44156eee91ba6f027afbfd6a39016c0e7e31c8e9
gpu: host1x: Add direction flags to relocations

Add direction flags to host1x relocations performed during job pinning.
These flags indicate the kinds of accesses that hardware is allowed to
perform on the relocated buffers.

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