commit | ff2ac58a45914cb65ae4bdc716d108193a867038 | [log] [tgz] |
---|---|---|
author | Laurent Vivier <lvivier@redhat.com> | Tue Jan 24 14:12:29 2017 +0100 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Tue Jan 31 12:14:27 2017 +0100 |
tree | 425a37cf43aeffebfcc82d1a380ace7fecfaecfe | |
parent | 376e5f5449d11811a8e3f61a4d4b54d68c0fd849 [diff] |
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>