[PATCH v3 0/5] drm: more byteorder fixes

Daniel Vetter daniel at ffwll.ch
Fri Sep 21 09:40:48 UTC 2018


On Wed, Sep 19, 2018 at 01:12:47PM +0200, Gerd Hoffmann wrote:
> Fix fbdev emulation.
> Fix bochs-drm and virtio-gpu drivers.
> 
> Gerd Hoffmann (5):
>   drm: move native byte order quirk to new drm_mode_legacy_fb_format2
>     function
>   drm: use drm_mode_legacy_fb_format2 in drm_gem_fbdev_fb_create
>   drm/bochs: fix DRM_FORMAT_* handling for big endian machines.
>   drm/bochs: support changing byteorder at mode set time
>   drm/virtio: fix DRM_FORMAT_* handling

Aside from the "naming is hard" nit, series looks good. With the naming
figured out somehow, Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch> on
the entire series.
-Daniel

> 
>  drivers/gpu/drm/bochs/bochs.h                |  4 +-
>  include/drm/drm_fourcc.h                     |  2 +
>  drivers/gpu/drm/bochs/bochs_fbdev.c          | 18 ++++++--
>  drivers/gpu/drm/bochs/bochs_hw.c             | 64 ++++++++++++++++++++++------
>  drivers/gpu/drm/bochs/bochs_kms.c            | 40 ++++++++++++++++-
>  drivers/gpu/drm/drm_fourcc.c                 | 28 ++++++++++++
>  drivers/gpu/drm/drm_framebuffer.c            | 15 ++-----
>  drivers/gpu/drm/drm_gem_framebuffer_helper.c |  6 ++-
>  drivers/gpu/drm/virtio/virtgpu_display.c     |  5 +++
>  drivers/gpu/drm/virtio/virtgpu_fb.c          |  2 +-
>  drivers/gpu/drm/virtio/virtgpu_gem.c         |  7 ++-
>  drivers/gpu/drm/virtio/virtgpu_plane.c       | 54 +----------------------
>  12 files changed, 155 insertions(+), 90 deletions(-)
> 
> -- 
> 2.9.3
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list