Bug 93883 - xserver's configure.ac enables XORG_DRIVER_MODESETTING even if libdrm version is too old
Summary: xserver's configure.ac enables XORG_DRIVER_MODESETTING even if libdrm version...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: ARM Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-27 11:48 UTC by Johannes Pointner
Modified: 2016-01-27 19:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Johannes Pointner 2016-01-27 11:48:08 UTC
In the xservers configure.ac is a section where it is checked if the libdrm version is new enough:

if test "x$DRM" = xyes; then
	dnl 2.4.46 is required for cursor hotspot support.
	PKG_CHECK_EXISTS(libdrm >= 2.4.46)
	XORG_DRIVER_MODESETTING=yes
fi

But the modesetting driver is enabled anyway.
I experienced this problem with xorg-xserver 1.17.2 in a yocto build environment.
May be something like
PKG_CHECK_EXISTS([libdrm >= 2.4.46], [XORG_DRIVER_MODESETTING=yes], [XORG_DRIVER_MODESETTING=no])
would solve the problem.
Comment 1 Julien Cristau 2016-01-27 19:32:47 UTC
commit bf23db42a4e5943129501223a47b48884cdeb62f
Author: Adam Jackson <ajax@redhat.com>
Date:   Wed Jan 27 11:50:13 2016 -0500

    modesetting: Require sufficiently new libdrm
    
    Bugzilla: https://bugs.freedesktop.org/93883
    Signed-off-by: Adam Jackson <ajax@redhat.com>
    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
    Reviewed-by: Julien Cristau <jcristau@debian.org>


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.