diff options
author | Ben Skeggs <bskeggs@nvidia.com> | 2024-07-26 07:38:26 +0300 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2024-07-27 04:05:49 +0300 |
commit | 0df26c0d69dce1141218e0e5ed0ad378a0c6c058 (patch) | |
tree | 9c134a363861a855284475bec6cbcd15a2739f4f /drivers/gpu/drm/nouveau/nouveau_boa0b5.c | |
parent | 034142a303fed2903957b06a7c91abdff5531bcf (diff) | |
download | linux-0df26c0d69dce1141218e0e5ed0ad378a0c6c058.tar.xz |
drm/nouveau: remove push pointer from nouveau_channel
The struct itself lives in nouveau_channel already, just use that.
Signed-off-by: Ben Skeggs <bskeggs@nvidia.com>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240726043828.58966-36-bskeggs@nvidia.com
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_boa0b5.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_boa0b5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_boa0b5.c b/drivers/gpu/drm/nouveau/nouveau_boa0b5.c index 07a5c6302c98..dff2ae0e1e45 100644 --- a/drivers/gpu/drm/nouveau/nouveau_boa0b5.c +++ b/drivers/gpu/drm/nouveau/nouveau_boa0b5.c @@ -39,7 +39,7 @@ nve0_bo_move_copy(struct nouveau_channel *chan, struct ttm_buffer_object *bo, struct ttm_resource *old_reg, struct ttm_resource *new_reg) { struct nouveau_mem *mem = nouveau_mem(old_reg); - struct nvif_push *push = chan->chan.push; + struct nvif_push *push = &chan->chan.push; int ret; ret = PUSH_WAIT(push, 10); @@ -78,7 +78,7 @@ nve0_bo_move_copy(struct nouveau_channel *chan, struct ttm_buffer_object *bo, int nve0_bo_move_init(struct nouveau_channel *chan, u32 handle) { - struct nvif_push *push = chan->chan.push; + struct nvif_push *push = &chan->chan.push; int ret; ret = PUSH_WAIT(push, 2); |