]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita22d22e84d06d283788dac0e00750f6633dbfe55
treeef81615986c7dbb6eaeb472fdfda32f6599be1d0
parent66d44cd9a0e9c344526e135bc7217591283c7de5
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