drm/nouveau/drm/nouveau: Pass the proper arguments to nvif_object_map_handle()
authorThierry Reding <treding@nvidia.com>
Thu, 18 Jan 2018 21:24:12 +0000 (07:24 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 19 Jan 2018 01:35:44 +0000 (11:35 +1000)
commitb554b12addf939f826ec97c7c9ff0214a2801a0a
treeef81615986c7dbb6eaeb472fdfda32f6599be1d0
parent1b5c7ef3d0d0610bda9b63263f7c5b7178d11015
drm/nouveau/drm/nouveau: Pass the proper arguments to nvif_object_map_handle()

This is obviously wrong in the current code. Make sure to record the
correct size of the arguments and pass the actual arguments to the
nvif_object_map_handle() function.

Suggested-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bo.c