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)
commit71d3f6ef7f5af38dea2975ec5715c88bae92e92d
tree361b3d6472da7d3cf60ff5b8226e21b9c9216798
parenta121103c922847ba5010819a3f250f1f7fc84ab8
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
17a7b0b4d9749f80d365d7baff5dec2f54b0e992) 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