drm: Branch 'master' - 4 commits

[email protected] (Emil Velikov)
Newsgroups gmane.comp.video.dri.patches
Message-ID <[email protected]>
 .gitignore                |    2 ++
 tests/modetest/modetest.c |    2 ++
 tests/proptest/proptest.c |    2 ++
 tests/util/kms.c          |    1 +
 4 files changed, 7 insertions(+)

New commits:
commit ea78c17854ad1b9d155dab66c99777e513943083
Author: Emil Velikov <[email protected]>
Date:   Mon Mar 28 22:15:03 2016 +0100

    proptest: print signed values correctly
    
    Signed-off-by: Emil Velikov <[email protected]>

diff --git a/tests/proptest/proptest.c b/tests/proptest/proptest.c
index 4bd0866..5abbf02 100644
--- a/tests/proptest/proptest.c
+++ b/tests/proptest/proptest.c
@@ -151,6 +151,8 @@ dump_prop(uint32_t prop_id, uint64_t value)
 	printf("\t\tvalue:");
 	if (drm_property_type_is(prop, DRM_MODE_PROP_BLOB))
 		dump_blob(value);
+	else if (drm_property_type_is(prop, DRM_MODE_PROP_SIGNED_RANGE))
+		printf(" %"PRId64"\n", value);
 	else
 		printf(" %"PRIu64"\n", value);
 
commit dfd8cd461142f3bb1e1c8d40c290af7511af7370
Author: Gustavo Padovan <[email protected]>
Date:   Tue Mar 22 18:42:52 2016 -0300

    modetest: print signed values correctly
    
    Signed-off-by: Gustavo Padovan <[email protected]>
    Reviewed-by: Emil Velikov <[email protected]>

diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c
index a5ac5bd..21d5438 100644
--- a/tests/modetest/modetest.c
+++ b/tests/modetest/modetest.c
@@ -314,6 +314,8 @@ static void dump_prop(struct device *dev, drmModePropertyPtr prop,
 	printf("\t\tvalue:");
 	if (drm_property_type_is(prop, DRM_MODE_PROP_BLOB))
 		dump_blob(dev, value);
+	else if (drm_property_type_is(prop, DRM_MODE_PROP_SIGNED_RANGE))
+		printf(" %"PRId64"\n", value);
 	else
 		printf(" %"PRIu64"\n", value);
 }
commit b5c0cf0fcb29b3c460ce1e9bbbadf8894d858883
Author: Gustavo Padovan <[email protected]>
Date:   Tue Mar 22 18:42:51 2016 -0300

    gitignore: ignore kms-steal-crtc and kms-universal-planes
    
    Signed-off-by: Gustavo Padovan <[email protected]>
    Reviewed-by; Emil Velikov <[email protected]>

diff --git a/.gitignore b/.gitignore
index 1b853a2..a44566f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -93,6 +93,8 @@ tests/modeprint/modeprint
 tests/modetest/modetest
 tests/name_from_fd
 tests/proptest/proptest
+tests/kms/kms-steal-crtc
+tests/kms/kms-universal-planes
 tests/kmstest/kmstest
 tests/vbltest/vbltest
 tests/radeon/radeon_ttm
commit 2e6f8f1dd5ef7456cfa3dbea597abef87b124d98
Author: Gustavo Padovan <[email protected]>
Date:   Thu Mar 17 18:42:25 2016 -0300

    tests: add virtio_gpu to the driver list
    
    modetest was failing to work with driver because it wasn't in the
    module list.
    
    Signed-off-by: Gustavo Padovan <[email protected]>
    Reviewed-by: Emil Velikov <[email protected]>

diff --git a/tests/util/kms.c b/tests/util/kms.c
index ce8aaab..650b23b 100644
--- a/tests/util/kms.c
+++ b/tests/util/kms.c
@@ -141,6 +141,7 @@ static const char * const modules[] = {
 	"atmel-hlcdc",
 	"fsl-dcu-drm",
 	"vc4",
+	"virtio_gpu",
 };
 
 int util_open(const char *device, const char *module)

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.