Tvrtko Ursulin 637f0455da kms_rotation_crc: Do not leak framebuffers during test duration
Test used to call prepare_crtc twice in the plane loop and leaked two
framebuffers per [subtest]x[pipe]x[plane].

What the loops really wants to do, instead of second invocation of
prepare_crtc, is to just turn on the display with the unrotated fb to
verify that the plane property has been restored by the VT transition
from previous to graphics mode.

To enable that factor out code which does that from prepare_crtc into
commit_crtc and call it instead.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Sonika Jindal <sonika.jindal@intel.com>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-05-01 16:24:28 +01:00
..
2015-04-16 17:41:41 +01:00
2014-12-10 17:11:35 +00:00
2014-12-10 17:11:35 +00:00
2012-04-10 16:23:18 +02:00
2014-05-14 00:36:04 +02:00
2015-02-13 09:35:36 +01:00
2014-12-04 10:17:24 +08:00
2014-05-14 00:36:04 +02:00
2014-12-04 16:07:55 +00:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-06-13 18:27:59 +02:00
2015-03-12 14:15:26 +00:00
2015-04-09 15:45:50 +02:00
2014-12-04 16:07:55 +00:00
2015-04-14 17:43:05 +01:00
2015-03-23 12:50:48 -07:00
2013-11-01 21:10:59 +01:00
2014-06-13 18:27:59 +02:00
2012-01-15 16:05:43 +01:00