Tvrtko Ursulin 759bb7ac98 igt_kms: Avoid NULL ptr deref when commiting disabled planes
I think;

   commit a26f9f9ad0e679c7ce413a25d34f6914e1174151
   Author: chandra konduru <chandra.konduru@intel.com>
   Date:   Mon Mar 30 13:52:04 2015 -0700

       i-g-t: Adding plane scaling test case

introduced a condition where it attempts to update a disabled plane because
of the newly introduced size_changed flag which is set for disabled frame
buffers. Result is a NULL ptr deref in igt_drm_plane_commit (plane->fb->src_x).

Start recognising this case as disabled plane and act accordingly.

v2: Split out igt_plane_set_fb cleanup. (Thomas Wood)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: chandra konduru <chandra.konduru@intel.com>
Cc: Thomas Wood <thomas.wood@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2015-05-12 13:45:36 +02:00
..
2014-07-23 16:43:05 +01:00
2015-04-22 18:00:42 +01:00
2014-12-04 10:17:16 +08:00
2013-12-05 15:32:42 -08:00
2014-02-20 13:42:25 +00:00
2011-03-29 22:52:50 +02:00
2015-05-05 17:27:49 -03:00
2015-05-07 15:11:49 -03:00
2015-05-07 15:11:49 -03:00
2015-04-14 17:44:34 +01:00
2015-04-26 12:18:15 +01:00
2015-02-25 16:59:22 +00:00
2015-04-16 16:49:46 +03:00
2015-04-08 14:52:37 +03:00
2015-05-07 15:11:49 -03:00
2014-12-04 10:17:16 +08:00
2014-12-04 10:17:16 +08:00
2015-03-25 17:52:11 +00:00
2015-03-25 17:52:11 +00:00