drm/vmwgfx: fix regression in thp code due to ttm init refactor.
authorDave Airlie <airlied@redhat.com>
Thu, 1 Oct 2020 04:20:12 +0000 (14:20 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 1 Oct 2020 19:12:58 +0000 (05:12 +1000)
commitedb899841c4e4c52cd78257029929bd9c6ab011d
tree3f618fc7eeb1608f0df5f91b9ab71d674070dea8
parent2101bfca57d8102292b85a62331239295bfa772e
drm/vmwgfx: fix regression in thp code due to ttm init refactor.

When I refactored this code with the new init paths, I failed to
set the funcs back up properly, this caused a failure to bringup
gdm properly.

Fixes: 252f8d7b9174 ("drm/vmwgfx/ttm: convert vram mm init to new code paths")
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201001042012.13114-1-airlied@gmail.com
drivers/gpu/drm/vmwgfx/vmwgfx_thp.c