[PATCH 0/3] drm: tackle byteorder issues, take three ...

Gerd Hoffmann kraxel at redhat.com
Tue May 2 13:34:01 UTC 2017


  Hi,

Ok, next round.  Patches 1+2 are unmodified, driver updates are left out
for now.

Patch #3 adds a new drm_mode_legacy_fb_format_he() function instead of
changing drm_mode_legacy_fb_format behavior, so we keep things working
for now.

Comments?

Suggestions how to handle the drm_mode_legacy_fb_format() call in
drm_mode_addfb() ?  Add some driver flag?

Gerd Hoffmann (3):
  drm: fourcc byteorder: drop DRM_FORMAT_BIG_ENDIAN
  drm: fourcc byteorder: add DRM_FORMAT_CPU_*
  drm: fourcc byteorder: add drm_mode_legacy_fb_format_he

 include/drm/drm_fourcc.h          | 15 +++++++++++
 include/uapi/drm/drm_fourcc.h     |  2 --
 drivers/gpu/drm/drm_fourcc.c      | 57 ++++++++++++++++++++++++++++++++++++---
 drivers/gpu/drm/drm_framebuffer.c |  2 +-
 4 files changed, 70 insertions(+), 6 deletions(-)

-- 
2.9.3



More information about the amd-gfx mailing list