drm/virtio: align blob resources to page sizes
authorChia-I Wu <olvaffe@gmail.com>
Sat, 19 Dec 2020 03:19:59 +0000 (19:19 -0800)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 22 Dec 2020 12:43:30 +0000 (13:43 +0100)
commitb39100a55ceab858daa35f03e227b54a03cc11ee
treef00ca04bebe741819d381d4ac3dfd2e80f428ff9
parentd1f66f054b7a62cd171e3bb7c4075e6d111089a1
drm/virtio: align blob resources to page sizes

They trigger the BUG_ON() in drm_gem_private_object_init otherwise.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20201219031959.92932-1-olvaffe@gmail.com
Cc: Gurchetan Singh <gurchetansingh@chromium.org>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_vram.c