]> 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)
commit9f37180309330eafbf7dd25a3ae964cc1183e037
tree361b3d6472da7d3cf60ff5b8226e21b9c9216798
parent56bfd77d2de4945a1b3920bf962cd2407ff74379
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
91b035b33c0bbea807fd7dd67fb10d53628052f0) 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