drm: virtio: add virtio_gpu_translate_format
Factors out code, no functional change. Signed-off-by: NGerd Hoffmann <kraxel@redhat.com> Acked-by: NDaniel Vetter <daniel.vetter@ffwll.ch> Tested-by: NLaurent Vivier <lvivier@redhat.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170403070845.10793-2-kraxel@redhat.com
Showing
想要评论请 注册 或 登录