From: Denys Dmytriyenko <[email protected]>

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 ...001-Add-option-to-run-a-test-indefinitely.patch | 29 +++++++++++-----------
 ...bdrm_2.4.52.bbappend => libdrm_2.4.59.bbappend} |  0
 2 files changed, 15 insertions(+), 14 deletions(-)
 rename meta-arago-distro/recipes-graphics/drm/{libdrm_2.4.52.bbappend => 
libdrm_2.4.59.bbappend} (100%)

diff --git 
a/meta-arago-distro/recipes-graphics/drm/libdrm/0001-Add-option-to-run-a-test-indefinitely.patch
 
b/meta-arago-distro/recipes-graphics/drm/libdrm/0001-Add-option-to-run-a-test-indefinitely.patch
index 5aba3ed..d74d713 100644
--- 
a/meta-arago-distro/recipes-graphics/drm/libdrm/0001-Add-option-to-run-a-test-indefinitely.patch
+++ 
b/meta-arago-distro/recipes-graphics/drm/libdrm/0001-Add-option-to-run-a-test-indefinitely.patch
@@ -1,4 +1,4 @@
-From 73c1849ac1492cd527263e9ef5033601018f52bf Mon Sep 17 00:00:00 2001
+From ca0a8795495a3b99c841e5a91dfa5de5c56758c6 Mon Sep 17 00:00:00 2001
 From: Alejandro Hernandez <[email protected]>
 Date: Tue, 23 Sep 2014 09:30:24 -0400
 Subject: [PATCH] Add option to run a test indefinitely
@@ -10,16 +10,17 @@ was not able to run in ltp-ddt because ltp-ddt sends data 
to stdin
 when a test is run
 
 Signed-off-by: Alejandro Hernandez <[email protected]>
+Signed-off-by: Denys Dmytriyenko <[email protected]>
 ---
  tests/modetest/modetest.c | 12 ++++++++----
  1 file changed, 8 insertions(+), 4 deletions(-)
 
 diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c
-index bc9c998..d847508 100644
+index 4b9cf2f..208af86 100644
 --- a/tests/modetest/modetest.c
 +++ b/tests/modetest/modetest.c
-@@ -1104,7 +1104,7 @@ static void set_planes(struct device *dev, struct 
plane_arg *p, unsigned int cou
-                       return;
+@@ -1163,7 +1163,7 @@ static void clear_cursors(struct device *dev)
+       cursor_stop();
  }
  
 -static void test_page_flip(struct device *dev, struct pipe_arg *pipes, 
unsigned int count)
@@ -27,7 +28,7 @@ index bc9c998..d847508 100644
  {
        uint32_t handles[4], pitches[4], offsets[4] = {0}; /* we only use [0] */
        unsigned int other_fb_id;
-@@ -1182,7 +1182,7 @@ static void test_page_flip(struct device *dev, struct 
pipe_arg *pipes, unsigned
+@@ -1241,7 +1241,7 @@ static void test_page_flip(struct device *dev, struct 
pipe_arg *pipes, unsigned
                        fprintf(stderr, "select timed out or error (ret %d)\n",
                                ret);
                        continue;
@@ -36,16 +37,16 @@ index bc9c998..d847508 100644
                        break;
                }
  #endif
-@@ -1376,7 +1376,7 @@ static int page_flipping_supported(void)
- #endif
+@@ -1442,7 +1442,7 @@ static int cursor_supported(void)
+       return 1;
  }
  
--static char optstr[] = "cdD:efM:P:ps:vw:";
-+static char optstr[] = "cdD:efM:P:ps:vw:t";
+-static char optstr[] = "cdD:efM:P:ps:Cvw:";
++static char optstr[] = "cdD:efM:P:ps:Cvw:t";
  
  int main(int argc, char **argv)
  {
-@@ -1391,6 +1391,7 @@ int main(int argc, char **argv)
+@@ -1458,6 +1458,7 @@ int main(int argc, char **argv)
        char *module = NULL;
        unsigned int i;
        int count = 0, plane_count = 0;
@@ -53,7 +54,7 @@ index bc9c998..d847508 100644
        unsigned int prop_count = 0;
        struct pipe_arg *pipe_args = NULL;
        struct plane_arg *plane_args = NULL;
-@@ -1472,6 +1473,9 @@ int main(int argc, char **argv)
+@@ -1542,6 +1543,9 @@ int main(int argc, char **argv)
  
                        prop_count++;
                        break;
@@ -63,8 +64,8 @@ index bc9c998..d847508 100644
                default:
                        usage(argv[0]);
                        break;
-@@ -1547,7 +1551,7 @@ int main(int argc, char **argv)
-                       set_planes(&dev, plane_args, plane_count);
+@@ -1626,7 +1630,7 @@ int main(int argc, char **argv)
+                       set_cursors(&dev, pipe_args, count);
  
                if (test_vsync)
 -                      test_page_flip(&dev, pipe_args, count);
@@ -73,5 +74,5 @@ index bc9c998..d847508 100644
                if (drop_master)
                        drmDropMaster(dev.fd);
 -- 
-1.9.1
+2.2.0
 
diff --git a/meta-arago-distro/recipes-graphics/drm/libdrm_2.4.52.bbappend 
b/meta-arago-distro/recipes-graphics/drm/libdrm_2.4.59.bbappend
similarity index 100%
rename from meta-arago-distro/recipes-graphics/drm/libdrm_2.4.52.bbappend
rename to meta-arago-distro/recipes-graphics/drm/libdrm_2.4.59.bbappend
-- 
2.2.0

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to