From: Lucas Stach <l.stach@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 3/3] xorg-server: add xf86-video-modesetting driver option
Date: Mon, 4 May 2015 14:50:42 +0200 [thread overview]
Message-ID: <1430743842-458-3-git-send-email-l.stach@pengutronix.de> (raw)
In-Reply-To: <1430743842-458-1-git-send-email-l.stach@pengutronix.de>
With xorg-server 1.17 the xf86-video-modesetting driver has been integrated
into the xserver codebase as a generic video driver on top of KMS and OpenGL.
Add options which allow to build and install this driver.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
rules/xorg-driver.in | 9 +++++++++
rules/xorg-server.make | 4 ++++
2 files changed, 13 insertions(+)
diff --git a/rules/xorg-driver.in b/rules/xorg-driver.in
index b9511977f21c..c94953cfaa5c 100644
--- a/rules/xorg-driver.in
+++ b/rules/xorg-driver.in
@@ -11,5 +11,14 @@ menuconfig XORG_DRIVER_VIDEO
bool "xorg video drivers "
if XORG_DRIVER_VIDEO
+
+config XORG_DRIVER_VIDEO_MODESETTING
+ tristate "modesetting"
+ select XORG_SERVER_LIBDRM
+ help
+ Generic xorg video driver on top of KMS. Can be used with
+ hardware acceleration on top of OpenGL if the GLAMOR module
+ is also selected.
+
source "generated/multimedia_xorg_driver_video.in"
endif
diff --git a/rules/xorg-server.make b/rules/xorg-server.make
index 46e9514aa4a5..e35c591f8df6 100644
--- a/rules/xorg-server.make
+++ b/rules/xorg-server.make
@@ -244,6 +244,10 @@ ifdef PTXCONF_XORG_DRIVER_VIDEO
$(XORG_PREFIX)/lib/xorg/modules/libwfb.so)
@$(call install_copy, xorg-server, 0, 0, 0644, -, \
$(XORG_PREFIX)/lib/xorg/modules/libvgahw.so)
+ifdef PTXCONF_XORG_DRIVER_VIDEO_MODESETTING
+ @$(call install_copy, xorg-server, 0, 0, 0644, -, \
+ /usr/lib/xorg/modules/drivers/modesetting_drv.so)
+endif
endif
ifdef PTXCONF_XORG_SERVER_EXT_GLX
--
2.1.4
--
ptxdist mailing list
ptxdist@pengutronix.de
prev parent reply other threads:[~2015-05-04 12:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-04 12:50 [ptxdist] [PATCH 1/3] xorg-lib-xtrans: version bump 1.3.4 -> 1.3.5 Lucas Stach
2015-05-04 12:50 ` [ptxdist] [PATCH 2/3] xorg-server: version bump 1.16.1 -> 1.17.1 Lucas Stach
2015-05-04 12:50 ` Lucas Stach [this message]
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=1430743842-458-3-git-send-email-l.stach@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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