[xserver PULL master] Various Modesetting fixes
Hans de Goede
hdegoede at redhat.com
Sat Jul 2 09:41:31 UTC 2016
Hi Adam, Keith,
I've been going over patches in RHEL-7 which have submitted upstream,
have received a favorable review but have not yet been merged.
The first 6 patches in this pull-req are the result of this.
These have been tested on a cirrus-logic card (emulated in qemu)
in both 24bpp packed as well as regular 32 bpp mode. All possible
combinations of shadow & double-shadow have been tested and
rotation has been tested for all these combinations.
I've squashed in a small fix to
"modesetting: Implement 32->24 bpp conversion in shadow update"
To also work with rotation, specifically drmmode_shadow_allocate
and drmmode_shadow_create now take drmmode.kbpp into account
(these 2 functions were not implemented yet when the patches
were originally posted).
Patch 7-8 are 2 prime related patches by me for adding offloading
from gpu-s with no video outputs and have also been reviewed
favorably.
The following changes since commit 3762edded8e6e973f71419937e16bea262a266b8:
configure: Tell AC_REPLACE_FUNCS where to find replacements (2016-06-30 13:12:08 -0400)
are available in the git repository at:
git://people.freedesktop.org/~jwrdegoede/xserver for-master
for you to fetch changes up to 60ad701a6a8cb9f1eacb72acfe2cb8d3b7a865dc:
modesetting: Load on GPU-s with 0 outputs (2016-07-02 09:54:07 +0200)
----------------------------------------------------------------
Adam Jackson (2):
modesetting: Drop some non-functional triple-buffering variables
modesetting: Implement a double-buffered shadow mode
Dave Airlie (1):
modesetting: Implement 32->24 bpp conversion in shadow update
Hans de Goede (2):
modesetting: Fix swapping of provider sink / source capabilities
modesetting: Load on GPU-s with 0 outputs
Takashi Iwai (3):
modesetting: Fix the error check from DRM_IOCTL_MODE_CURSOR2
modesetting: Use load_cursor_argb_check for sw cursor fallback
modesetting: Fix hw cursor check at the first call
hw/xfree86/drivers/modesetting/Makefile.am | 2 +
hw/xfree86/drivers/modesetting/driver.c | 203 ++++++++++++++++++++---
hw/xfree86/drivers/modesetting/driver.h | 1 +
hw/xfree86/drivers/modesetting/drmmode_display.c | 77 +++++----
hw/xfree86/drivers/modesetting/drmmode_display.h | 17 +-
hw/xfree86/drivers/modesetting/sh3224.c | 140 ++++++++++++++++
hw/xfree86/drivers/modesetting/sh3224.h | 7 +
7 files changed, 381 insertions(+), 66 deletions(-)
create mode 100644 hw/xfree86/drivers/modesetting/sh3224.c
create mode 100644 hw/xfree86/drivers/modesetting/sh3224.h
Regards,
Hans
More information about the xorg-devel
mailing list