Imre Deak 0009a4af3d kms_flip: set VT graphics mode
This is one reason for some of the sporadic kms_flip failures.
One such is https://bugs.freedesktop.org/show_bug.cgi?id=59834.

v2:
- use unsigned long for KDSETMODE/KDGETMODE
- fix passing the parameter to KDGETMODE as it should be by value
- actually testing that it works..

v3:
- don't do an explicit DPMS_ON, only switch to graphics mode.

v4:
- use the newly added drmtest_set_vt_graphics_mode(), which will also
  take care of restoring the original mode. (Daniel)

Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-05-08 21:00:45 +02:00
..
2012-04-10 16:23:18 +02:00
2012-04-10 16:23:18 +02:00
2012-04-04 11:13:06 +02:00
2012-01-11 14:47:09 +01:00
2013-04-27 11:57:30 -07:00
2012-10-09 22:47:59 +02:00
2012-08-15 10:26:48 +02:00
2013-01-07 12:32:56 +00:00
2012-01-10 18:30:39 +01:00
2012-01-10 15:50:20 +01:00
2013-04-09 20:21:13 +02:00
2009-03-26 18:47:42 -07:00
2011-09-15 19:39:44 +02:00
2013-05-08 21:00:45 +02:00
2012-01-15 16:05:43 +01:00
2012-10-09 19:29:02 +02:00