mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 19:43:43 -04:00
drm: virtio: add virtio_gpu_translate_format
Factors out code, no functional change. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Tested-by: Laurent Vivier <lvivier@redhat.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170403070845.10793-2-kraxel@redhat.com
This commit is contained in:
@@ -334,6 +334,7 @@ int virtio_gpu_modeset_init(struct virtio_gpu_device *vgdev);
|
||||
void virtio_gpu_modeset_fini(struct virtio_gpu_device *vgdev);
|
||||
|
||||
/* virtio_gpu_plane.c */
|
||||
uint32_t virtio_gpu_translate_format(uint32_t drm_fourcc);
|
||||
struct drm_plane *virtio_gpu_plane_init(struct virtio_gpu_device *vgdev,
|
||||
enum drm_plane_type type,
|
||||
int index);
|
||||
|
||||
Reference in New Issue
Block a user