summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac11
-rw-r--r--src/sna/sna_display.c4
2 files changed, 0 insertions, 15 deletions
diff --git a/configure.ac b/configure.ac
index 503202c9..6dff393f 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 5335f069..a46440ac 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)