From: Gerd Hoffmann <kraxel@redhat.com>
To: dri-devel@lists.freedesktop.org
Cc: michel@daenzer.net, Gerd Hoffmann <kraxel@redhat.com>
Subject: [PATCH v2 0/6] drm: byteorder fixes
Date: Wed, 5 Sep 2018 08:04:39 +0200 [thread overview]
Message-ID: <20180905060445.15008-1-kraxel@redhat.com> (raw)
Patch series adds some convinience #defines for host byteoder drm
formats. It fixes drm_mode_addfb() behavior on bigendian machines. For
bug compatibility reasons a mode_config quirk activates the fix.
bochs and virtio-gpu drivers are updated to use the new #defines, set
the new driver feature flag and fix some issues.
Gerd Hoffmann (6):
drm: replace DRIVER_PREFER_XBGR_30BPP driver flag with mode_config
quirk
drm: byteorder: add DRM_FORMAT_HOST_*
drm: do not mask out DRM_FORMAT_BIG_ENDIAN
drm: fix drm_mode_addfb() on big endian machines.
drm/bochs: fix DRM_FORMAT_* handling for big endian machines.
drm/virtio: fix DRM_FORMAT_* handling
include/drm/drm_drv.h | 1 -
include/drm/drm_fourcc.h | 22 +++++++++++++
include/drm/drm_mode_config.h | 15 +++++++++
drivers/gpu/drm/bochs/bochs_fbdev.c | 5 ++-
drivers/gpu/drm/bochs/bochs_kms.c | 34 +++++++++++++++++++-
drivers/gpu/drm/bochs/bochs_mm.c | 2 +-
drivers/gpu/drm/drm_framebuffer.c | 17 ++++++++--
drivers/gpu/drm/nouveau/dispnv50/disp.c | 2 +-
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, 101 insertions(+), 65 deletions(-)
--
2.9.3
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2018-09-05 6:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-05 6:04 Gerd Hoffmann [this message]
2018-09-05 6:04 ` [PATCH v2 1/6] drm: replace DRIVER_PREFER_XBGR_30BPP driver flag with mode_config quirk Gerd Hoffmann
2018-09-05 6:04 ` [PATCH v2 2/6] drm: byteorder: add DRM_FORMAT_HOST_* Gerd Hoffmann
2018-09-05 6:04 ` [PATCH v2 3/6] drm: do not mask out DRM_FORMAT_BIG_ENDIAN Gerd Hoffmann
2018-09-05 6:04 ` [PATCH v2 4/6] drm: fix drm_mode_addfb() on big endian machines Gerd Hoffmann
2018-09-05 18:19 ` Daniel Vetter
2018-09-06 7:18 ` Gerd Hoffmann
2018-09-05 6:04 ` [PATCH v2 5/6] drm/bochs: fix DRM_FORMAT_* handling for " Gerd Hoffmann
2018-09-05 6:04 ` [PATCH v2 6/6] drm/virtio: fix DRM_FORMAT_* handling Gerd Hoffmann
2019-01-11 6:17 ` [PATCH v2 0/6] drm: byteorder fixes Ilia Mirkin
2019-01-11 9:08 ` Gerd Hoffmann
2019-01-11 9:11 ` Daniel Vetter
2019-01-11 9:43 ` Gerd Hoffmann
2019-01-11 10:26 ` Daniel Vetter
2019-01-11 13:08 ` Ilia Mirkin
2019-01-11 13:53 ` Daniel Vetter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180905060445.15008-1-kraxel@redhat.com \
--to=kraxel@redhat.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=michel@daenzer.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox