]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/nouveau/fb/gk20a: fix constructor call
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 27 Oct 2016 07:55:52 +0000 (16:55 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 7 Nov 2016 04:04:38 +0000 (14:04 +1000)
commit635cb7da577e7893f728927015759392b61254e7
tree267ad6b30ffb8b73f95b9b21502be4cd557ee5f6
parented7acfae2a8f21f86454466568cacbd84d2d04cf
drm/nouveau/fb/gk20a: fix constructor call

The gf100 constructor should be called, otherwise we will allocate a
smaller object than expected. This was without effect so far because
gk20a did not allocate a page, but with gf100's page allocation moved
to the oneinit() hook this problem has become apparent.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk20a.c