]> git.baikalelectronics.ru Git - kernel.git/commit
drm/virtio: fix framebuffer sparse warning
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 28 Nov 2016 07:52:20 +0000 (08:52 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 10 Jan 2017 12:58:20 +0000 (13:58 +0100)
commitca6dec00b6a0bf8aafc9badc0863eb31fc982643
tree361b3d6472da7d3cf60ff5b8226e21b9c9216798
parentf860b361d801aefbaf73e56bea0acfd26ed6e227
drm/virtio: fix framebuffer sparse warning

virtio uses normal ram as backing storage for the framebuffer, so we
should assign the address to new screen_buffer (added by commit
5d206615c41198b9cc08d51cd5485de02120d6f7) instead of screen_base.

Reported-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_fb.c