summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2015-04-27 12:29:11 +0100
committerThomas Wood <thomas.wood@intel.com>2015-05-01 16:24:28 +0100
commit637f0455da91c91eedae1245464b45f0c3f7310e (patch)
tree04c65cfa7fdbf6052e789d30d09615a4f0270d0f /lib
parent4650d3406cd2e1378b215793730b59c065c230d4 (diff)
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions