diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2018-12-11 05:50:02 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2018-12-11 06:37:47 +0100 |
commit | 85532bd984d77cef5a59e9cbb73e8161b94017ae (patch) | |
tree | fc37226779fb04545fbe745f0b1704d2ff1a1a75 /drivers/gpu/drm/nouveau/nouveau_chan.h | |
parent | drm/nouveau/fifo/gk104-: return channel instance in ctor args (diff) | |
download | linux-85532bd984d77cef5a59e9cbb73e8161b94017ae.tar.xz linux-85532bd984d77cef5a59e9cbb73e8161b94017ae.zip |
drm/nouveau/fifo/gk104-: support enabling privileged ce functions
Will be used by SVM code to allow direct (without going through MMU) memcpy
using the GPU copy engines.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_chan.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_chan.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_chan.h b/drivers/gpu/drm/nouveau/nouveau_chan.h index 93d065d4a2a1..a62d233b2a97 100644 --- a/drivers/gpu/drm/nouveau/nouveau_chan.h +++ b/drivers/gpu/drm/nouveau/nouveau_chan.h @@ -49,7 +49,8 @@ struct nouveau_channel { int nouveau_channels_init(struct nouveau_drm *); int nouveau_channel_new(struct nouveau_drm *, struct nvif_device *, - u32 arg0, u32 arg1, struct nouveau_channel **); + u32 arg0, u32 arg1, bool priv, + struct nouveau_channel **); void nouveau_channel_del(struct nouveau_channel **); int nouveau_channel_idle(struct nouveau_channel *); |