]> 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)
commit93c71aa879891a9bb9154cb4515a9be4d787cd58
treeef81615986c7dbb6eaeb472fdfda32f6599be1d0
parent58d205102bea0b6bb052e04c7bfd540c15941168
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