xf86-video-modesetting: 3 commits - configure.ac src/drmmode_display.c

Maarten Lankhorst mlankhorst at kemper.freedesktop.org
Tue Dec 3 08:04:36 PST 2013


 configure.ac          |    2 +-
 src/drmmode_display.c |   33 +++++++++++++++++----------------
 2 files changed, 18 insertions(+), 17 deletions(-)

New commits:
commit da64ee70f96fcac32c08128559b293732b318a00
Author: Maarten Lankhorst <maarten.lankhorst at canonical.com>
Date:   Tue Dec 3 17:01:28 2013 +0100

    bump to 0.8.1

diff --git a/configure.ac b/configure.ac
index 6f7a7be..0b04923 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ([2.60])
 AC_INIT([xf86-video-modesetting],
-        [0.8.0],
+        [0.8.1],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
         [xf86-video-modesetting])
 AC_CONFIG_SRCDIR([Makefile.am])
commit c9f899bf34530d54eb96dda9f5e7d9135967fc11
Author: Thierry Reding <thierry.reding at gmail.com>
Date:   Tue Nov 26 17:08:03 2013 +0100

    Properly identify DSI outputs
    
    Newer Linux kernels support DSI outputs. To be able to identify them
    properly, add DSI to the list of output names.
    
    Reviewed-by: Aaron Plattner <aplattner at nvidia.com>
    Signed-off-by: Thierry Reding <treding at nvidia.com>

diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index a343778..25641ce 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -977,6 +977,7 @@ static const char * const output_names[] = { "None",
 					     "TV",
 					     "eDP",
 					     "Virtual",
+					     "DSI",
 };
 
 static void
commit d2403d5a1fb17f925e907296398ba14e8b104e89
Author: Thierry Reding <thierry.reding at gmail.com>
Date:   Tue Nov 26 17:08:02 2013 +0100

    Staticise and constify output names
    
    This array isn't used anywhere outside this file, so it can be made
    static. While at it, make the array const as well.
    
    Signed-off-by: Thierry Reding <treding at nvidia.com>
    Reviewed-by: Aaron Plattner <aplattner at nvidia.com>

diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 773ec4c..a343778 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -961,22 +961,22 @@ static int subpixel_conv_table[7] = { 0, SubPixelUnknown,
 				      SubPixelVerticalBGR,
 				      SubPixelNone };
 
-const char *output_names[] = { "None",
-			       "VGA",
-			       "DVI",
-			       "DVI",
-			       "DVI",
-			       "Composite",
-			       "S-video",
-			       "LVDS",
-			       "CTV",
-			       "DIN",
-			       "DisplayPort",
-			       "HDMI",
-			       "HDMI",
-			       "TV",
-			       "eDP",
-			       "Virtual"
+static const char * const output_names[] = { "None",
+					     "VGA",
+					     "DVI",
+					     "DVI",
+					     "DVI",
+					     "Composite",
+					     "S-video",
+					     "LVDS",
+					     "CTV",
+					     "DIN",
+					     "DisplayPort",
+					     "HDMI",
+					     "HDMI",
+					     "TV",
+					     "eDP",
+					     "Virtual",
 };
 
 static void


More information about the xorg-commit mailing list