]> git.baikalelectronics.ru Git - kernel.git/commit
virtio-gpu: disable VIRGL with BE kernel
authorLaurent Vivier <lvivier@redhat.com>
Tue, 24 Jan 2017 13:12:29 +0000 (14:12 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 31 Jan 2017 11:14:27 +0000 (12:14 +0100)
commit3aed3b401ab8a10894503ee1696cacc39a2d4d11
tree425a37cf43aeffebfcc82d1a380ace7fecfaecfe
parentd4f9f7f1cdcac107897563072059e80f4fd24035
virtio-gpu: disable VIRGL with BE kernel

VIRTIO_GPU_F_VIRGL is added in features list only
for LE kernel, so we must check for it only on LE kernel,
otherwise virtio_has_feature() calls BUG() and
crashes the kernel.

Suggested-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1485263549-28743-1-git-send-email-lvivier@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_kms.c