Hai Lan
6857a1af81
testdisplay: for tiled mode test, the height should be aligned
...
Signed-off-by: Hai Lan <hai.lan@intel.com>
2011-08-12 11:44:03 -07:00
Hai Lan
6cc92bcbc5
testdisplay: Test the first mode if there is no preferred mode.
...
For a TV device, there might be no preferred mode. In this case,
we can test the first mode.
Signed-off-by: Hai Lan <hai.lan@intel.com>
2011-07-13 14:05:54 +08:00
Jesse Barnes
e235f93288
testdisplay: automatically enable TEST_PLANES if possible
...
Just look for the ADDFB2 ioctl and enable the new code if it exists.
2011-06-07 13:32:37 -07:00
Jesse Barnes
8969b839b5
testdisplay: fix error output if test pattern draw fails
2011-06-07 13:29:01 -07:00
Jesse Barnes
b707feb9d5
testdisplay: add tiled buffer test support
...
Useful for testing tiled vs linear framebuffers.
2011-06-07 13:29:01 -07:00
Jesse Barnes
7230c01421
testdisplay: add overlay plane test option
...
Enumerate available extra planes and try to use one on each CRTC we enable.
2011-06-07 13:29:01 -07:00
Lan, Hai
3ddc799fbf
testdisplay: fix possible_crtcs check so LVDS works
...
When using testdisplay on GM965 and Pineview with LVDS, it will fail to
set a mode because the first unused crtc can't be used for LVDS. So
check the possible_crtcs to make sure the crtc can be used.
Signed-off-by: Hai Lan <hai.lan@intel.com>
2011-06-07 08:55:25 -07:00
Sun Yi
91f609741d
testdisplay: print pixel clock in mode debug output
...
Print the pixel clock of each mode.
2011-05-31 11:50:38 -07:00
Jesse Barnes
a825173a5f
testdisplay: add 30bpp support (#ifdef'd out until the next cairo release)
2011-05-12 17:50:20 -07:00
Jesse Barnes
12de60a5e8
testdisplay: don't read hotplug events from buffer before libudev
...
Otherwise we'll just block rather than trying to update the display.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2011-05-04 14:57:06 -07:00
Hai Lan
9bfda1a809
Fix a bug of testing preferred mode
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-04-26 07:47:12 +01:00
Jesse Barnes
c56cd106f9
testdisplay: add non-24 bit depth support
...
Testing 16bpp is useful, and 30bpp will be added once cairo supports it.
2011-04-19 11:50:16 -07:00
Jesse Barnes
0d3043f5f3
testdisplay: paint color gradients
...
Helps identify dithering problems.
2011-04-18 16:49:17 -07:00
Hai Lan
dac602b7b3
correct a mistyping for testdisplay
...
For testing all mode, the sleep time should be sleep_between_modes
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-11 15:35:05 +00:00
Chris Wilson
28032382bc
testdisplay: Remove deprecated GIO functions
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-11 11:22:53 +00:00
Chris Wilson
5534cb1c75
testdisplay: Clarify
...
Move the loop operations around for test_all_modes so that it is clearly
split up into the desired phases.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-11 11:22:53 +00:00
Hai Lan
62d516813a
Add a test case into intel-gpu-tools for intel display driver validation.
...
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 mode info is based on
libdrm/tests/modetest).
[ickle: attack the whitespacing!]
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-11 11:02:07 +00:00
Jesse Barnes
5406c633a0
tests: add display testing program
...
Just a simple program to light up all detected outputs at their native
mode and respond to hotplug events.
2010-12-21 09:39:07 -08:00