d colorkey because sometimes we
need to set the colorkey as 0.
So I think it's better to use a separate field of ioctl.
Thanks and best regards.
Hai Lan
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signed-off-by: Hai Lan
---
tests/testdisplay.c | 32 +---
1 files changed, 25 insertions(+), 7 deletions(-)
diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index 01f31dc..174d5c7 100644
--- a/tests/testdisplay.c
+++ b/tests/testdisplay.c
@@ -75,7 +75,7
Signed-off-by: Hai Lan
---
drivers/gpu/drm/i915/intel_display.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 35364e6..f743085 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b
Signed-off-by: Hai Lan
---
tests/testdisplay.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index dae52ca..1d85acd 100644
--- a/tests/testdisplay.c
+++ b/tests/testdisplay.c
@@ -414,7 +414,7 @@ allocate_surface(int fd, int
Signed-off-by: Hai Lan
---
tests/testdisplay.c | 50 --
1 files changed, 44 insertions(+), 6 deletions(-)
diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index e8e3309..9ea4e7f 100644
--- a/tests/testdisplay.c
+++ b/tests/testdisplay.c
There is no preferred mode for SDVO-TV, so choose 720x480 as preferred mode
Signed-off-by: Hai Lan
---
drivers/gpu/drm/i915/intel_sdvo.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_sdvo.c
b/drivers/gpu/drm/i915/intel_sdvo.c
index 7c50cdc
For a TV device, there might be no preferred mode. In this case,
we can test the first mode.
---
tests/testdisplay.c | 13 ++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index 41a5753..ef194fe 100644
--- a/tests/testdispla
---
tests/testdisplay.c | 10 ++
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index 5bf5183..48684e1 100644
--- a/tests/testdisplay.c
+++ b/tests/testdisplay.c
@@ -157,7 +157,7 @@ struct connector {
static void dump_mode(drmM
From: Hai Lan
We have not a unified tool to check Intel display driver and we plan to use
intel-gpu-tools/testdisplay to check Intel display driver even though some
function tests can be found in libdrm/test. 3 new features are added:test
all supported modes, force mode and dump mode info(dump