drm/nouveau: pass drm to nouveau_mem_new(), instead of cli

The nouveau_cli pointer is only ever used to eventually access
nouveau_drm, so just store it directly.

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-30-bskeggs@nvidia.com
This commit is contained in:
Ben Skeggs 2024-07-26 14:38:20 +10:00 • committed by Danilo Krummrich
commit 0fa0955acd
4 changed files with 15 additions and 17 deletions