xf86-video-intel: configure.ac src/sna/sna_display.c
Chris Wilson
ickle at kemper.freedesktop.org
Wed Aug 6 01:11:27 PDT 2014
configure.ac | 11 -----------
src/sna/sna_display.c | 4 ----
2 files changed, 15 deletions(-)
New commits:
commit 105d478cdd70ac3b38be51c9014b22b7233c241e
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed Aug 6 09:10:30 2014 +0100
sna: Enable kernel rotation support by default
The kernel API is now upstream and so we can rely on it not changing.
Time to use it.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/configure.ac b/configure.ac
index 503202c..6dff393 100644
--- a/configure.ac
+++ b/configure.ac
@@ -742,17 +742,6 @@ if test "x$CREATE2" = "xyes"; then
xp_msg="$xp_msg create2"
fi
-AC_ARG_ENABLE(rotation,
- AS_HELP_STRING([--enable-rotation],
- [Enable use of native rotations (experimental) [default=no]]),
- [ROTATION="$enableval"],
- [ROTATION="no"])
-AM_CONDITIONAL(USE_ROTATION, test "x$ROTATION" = "xyes")
-if test "x$ROTATION" = "xyes"; then
- AC_DEFINE(USE_ROTATION,1,[Assume "rotation" support])
- xp_msg="$xp_msg rotation"
-fi
-
AC_ARG_ENABLE(async-swap,
AS_HELP_STRING([--enable-async-swap],
[Enable use of asynchronous swaps (experimental) [default=no]]),
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 5335f06..a46440a 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -2223,7 +2223,6 @@ static const xf86CrtcFuncsRec sna_crtc_funcs = {
inline static bool prop_is_rotation(struct drm_mode_get_property *prop)
{
-#if USE_ROTATION
if ((prop->flags & (1 << 5)) == 0)
return false;
@@ -2231,9 +2230,6 @@ inline static bool prop_is_rotation(struct drm_mode_get_property *prop)
return false;
return true;
-#else
- return false;
-#endif
}
static int plane_details(struct sna *sna, struct plane *p)
More information about the xorg-commit
mailing list