Re: [Intel-gfx] Plane support for SNB and IVB

2011-12-07 Thread Hai Lan
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

[Intel-gfx] [PATCH] test/testdisplay:add cursor test

2011-10-22 Thread Hai Lan
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

[Intel-gfx] [PATCH] drm/i915:fix the bug that testdisplay can't work with 32 bits depth (bug # 40011)

2011-08-13 Thread Hai Lan
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

[Intel-gfx] [PATCH] testdisplay: for tiled mode test, the height should be aligned

2011-08-04 Thread Hai Lan
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

[Intel-gfx] [PATCH] intel-gpu-tools:testdisplay: add gamma test

2011-07-13 Thread Hai Lan
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

[Intel-gfx] [PATCH] Use 720x480 as the preferred mode for SDVO-TV

2011-06-01 Thread Hai Lan
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

[Intel-gfx] [PATCH] Test the first mode if there is no preferred mode.

2011-05-31 Thread Hai Lan
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

[Intel-gfx] [PATCH] Fix a bug of testing preferred mode

2011-04-25 Thread Hai Lan
--- 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

[Intel-gfx] [PATCH] Add a test case into intel-gpu-tools for intel display driver validation.

2011-02-10 Thread hai . lan
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