- 12 Aug, 2013 1 commit
-
-
Daniel Vetter authored
To simplify things add a set of gem_check_<ring> functions which take care of this. Since I've opted for static inlines drmtest.h grew a few more header includes which was a neat opportunity to dump a few redundant #defines. This kills all the skipped_all hand-rolled logic we have. Signed-off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
- 18 Jul, 2013 1 commit
-
-
Damien Lespiau authored
Let's start by a small set of tests, to eventually consider running more. The current list should then be: gem_mmap gem_pread_after_blit gem_ring_sync_loop gem_ctx_basic gem_pipe_control_store_loop gem_storedw_loop_render gem_storedw_loop_blt gem_storedw_loop_bsd gem_render_linear_blits gem_tiled_blits gem_cpu_reloc gem_exec_nop gem_mmap_gtt v2 add (Daniel Vetter) gem_exec_bad_domains gem_exec_faulting_reloc gem_flink gem_reg_read gem_reloc_overflow gem_tiling_max_stride prime_* Signed-off-by:
Damien Lespiau <damien.lespiau@intel.com>
-
- 05 Jun, 2013 4 commits
-
-
Imre Deak authored
Factor out parts that will be used by an upcoming patch adding kmstest_create_fb2. Also call the fb paint functions directly, there is not much point in passing a function pointer for that. Signed-off-by:
Imre Deak <imre.deak@intel.com> Reviewed-by:
Rodrigo Vivi <rodrigo.vivi@gmail.com>
-
Imre Deak authored
This is used by multiple test cases, so make it shared. Signed-off-by:
Imre Deak <imre.deak@intel.com> Reviewed-by:
Rodrigo Vivi <rodrigo.vivi@gmail.com>
-
Imre Deak authored
Signed-off-by:
Imre Deak <imre.deak@intel.com> Reviewed-by:
Rodrigo Vivi <rodrigo.vivi@gmail.com> [v3: fix mode printing in paint_output_info() botched by debugging leftover :/ ]
-
Imre Deak authored
These are used by multiple test cases, so make them shared. Signed-off-by:
Imre Deak <imre.deak@intel.com> Reviewed-by:
Rodrigo Vivi <rodrigo.vivi@gmail.com>
-
- 08 May, 2013 1 commit
-
-
Imre Deak authored
Signed-off-by:
Imre Deak <imre.deak@intel.com> Signed-off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
- 04 Mar, 2013 1 commit
-
-
Damien Lespiau authored
autoconf can be configured to not generate a config.h but to give the defines with command line arguments instead. In this case, there's no config.h to include. To work in both cases autoconf adds a HAVE_CONFIG_H define on the command line to signal there's a config.h to include. Signed-off-by:
Damien Lespiau <damien.lespiau@intel.com>
-
- 13 Feb, 2013 1 commit
-
-
Yi Sun authored
That variable is useless, instead the variables specified_mode_num and specified_disp_id can cover all the situation. For parameter -o, all three instances should work: ./testdisplay -o 21,4 only test the 4th mode on the connector with id 21. ./testdisplay -o 21 test all the mode lines on the connector wiht id 21. ./testdisplay -o ,4 the -o is ignored, just like -a. Signed-off-by:
Yi Sun <yi.sun@intel.com>
-
- 14 Jan, 2013 1 commit
-
-
Yi Sun authored
Signed-off-by:
Yi Sun <yi.sun@intel.com> Signed-off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
- 27 Dec, 2012 1 commit
-
-
Yi Sun authored
It can specify the display by the connector id which list as the first column of ./testdisplay -i. E.g. command "./testdiplay -o 1,4" means setting number 4 mode line on the display with connector id 1. v2. Specify the display by id which can be got from option '-i' Signed-off-by:
Yi Sun <yi.sun@intel.com> Signed-off-by:
Ben Widawsky <ben@bwidawsk.net>
-
- 27 Nov, 2012 1 commit
-
-
Damien Lespiau authored
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55901Signed-off-by:
Damien Lespiau <damien.lespiau@intel.com> Signed-off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
- 10 Oct, 2012 1 commit
-
-
Imre Deak authored
Signed-off-by:
Imre Deak <imre.deak@intel.com> Signed-off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
- 26 Sep, 2012 1 commit
-
-
Yi Sun authored
Each mode line has a number just like '[i]'. So we can only test the specified mode with giving the number of mode to '-o' parameter. Signed-off-by:
Yi Sun <yi.sun@intel.com> Signed-off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
- 30 Aug, 2012 1 commit
-
-
Ben Widawsky authored
Signed-off-by:
Ben Widawsky <ben@bwidawsk.net>
-
- 08 Aug, 2012 1 commit
-
-
Yi Sun authored
Signed-off-by:
Yi Sun <yi.sun@intel.com>
-
- 26 Jul, 2012 1 commit
-
-
Yi Sun authored
With the option '-r', the testdisplay could paint a 2-D bar code(QR bar code) on the screen. The word "pass" is hiden in the bar code image. Further more, with this option, testdisplay will wait until a system signal 'SIGUSR1' coming after each mode setting. This function is for another program to control testdisplay. danvet: Fix up the missing static. Signed-off-by:
Yi Sun <yi.sun@intel.com> Signed-off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
- 23 Jul, 2012 1 commit
-
-
Daniel Vetter authored
Signed-Off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
- 22 May, 2012 3 commits
-
-
Daniel Vetter authored
-
Daniel Vetter authored
We should get more kms tests soon, and not needing to copy-paste a nice test pattern should be useful. That establishes a firm depency of i-g-t on cairo over everything, but I don't care so much about that. Signed-Off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
Daniel Vetter authored
And fix it up to not leak open fds, which kills all the master only stuff.
-
- 27 Feb, 2012 2 commits
-
-
Jesse Barnes authored
These are globals, no need to shadow them everywhere.
-
Jesse Barnes authored
This is better done in intel_sprite_on and was broken anyway.
-
- 06 Feb, 2012 2 commits
-
-
Yi Sun authored
Replace the globe variable drm_fd with local variable passed from parameter. Signed-off-by:
Yi Sun <yi.sun@intel.com> [danvet: fixup whitespace] Signed-off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
Yi Sun authored
Replace the 8 globe force mode variables with a struct drmModeInfo variable. Next step, we could reduce the number of globe veriables, to be convenient to call the functions. Signed-off-by:
Yi Sun <yi.sun@intel.com> Signed-off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
- 24 Jan, 2012 1 commit
-
-
Daniel Vetter authored
Signed-Off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
- 10 Jan, 2012 5 commits
-
-
Daniel Vetter authored
Signed-Off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
Daniel Vetter authored
Signed-Off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
Daniel Vetter authored
Shuts up compiler warnings about shadowing in functions. Signed-Off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
Daniel Vetter authored
const char * issues and redudant getopt stuff Signed-Off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
Daniel Vetter authored
Signed-Off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
- 09 Jan, 2012 1 commit
-
-
Jesse Barnes authored
-
- 17 Dec, 2011 2 commits
-
-
Daniel Vetter authored
Signed-Off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
Daniel Vetter authored
Signed-Off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
- 16 Dec, 2011 1 commit
-
-
Yi Sun authored
If test all modes rather than preferred mode, remove framebuffer and set CRTC to zero after each connector mode setting. Signed-off-by:
Sun Yi <yi.sun@intel.com> Reviewed-by:
Eugeni Dodonov <eugeni.dodonov@intel.com>
-
- 14 Dec, 2011 1 commit
-
-
Jesse Barnes authored
-
- 07 Dec, 2011 1 commit
-
-
Jesse Barnes authored
Signed-off-by:
Jesse Barnes <jbarnes@virtuousgeek.org>
-
- 04 Nov, 2011 3 commits
-
-
Chris Wilson authored
Be simple and use the strictest requirements from gen2/3 with old kernels so that this simply works everywhere. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42585
-
Jesse Barnes authored
Fixes a bug where we were masking against the wrong value.
-
Jesse Barnes authored
-