Philipp Zabel
5c8eef147c
compositor-drm: clear gbm_surface pointer after destroying the GBM surface
...
Since commit ee1d968e64 ("compositor-drm: Fall back if GBM surface fails with
modifiers"), drm_output_init_egl requires output->gbm_surface to be NULL, or
gbm_surface_create will not be called if HAVE_GBM_MODIFIERS is enabled but no
modifiers are supported by the plane. This could happen if _init_egl is called
after drm_ouptut_fini_egl drom drm_output_switch_mode.
Add an assert to guarantee the requirement and clears the gbm_surface pointer
after the surface is destroyed.
Signed-off-by: Philipp Zabel <p.pzabel@pengutronix.de >
2019-03-06 11:26:42 +01:00
..
2017-11-27 11:41:17 +02:00
2017-11-27 11:42:07 +02:00
2016-07-26 16:26:08 -07:00
2019-03-06 11:26:42 +01:00
2018-10-30 17:09:01 +09:00
2019-01-31 09:46:42 +00:00
2018-07-02 15:29:38 +03:00
2019-02-06 12:21:56 +00:00
2019-01-31 08:57:54 +00:00
2018-12-04 23:42:27 +01:00
2016-10-03 14:24:08 +03:00
2019-02-20 16:47:35 +01:00
2016-10-14 10:42:17 +02:00
2019-02-06 12:21:56 +00:00
2016-10-05 14:59:09 +03:00
2019-02-18 16:48:37 +02:00
2019-02-06 12:21:56 +00:00
2018-02-15 13:14:14 +02:00
2016-07-26 16:26:08 -07:00
2016-06-23 17:44:54 +03:00
2018-12-09 14:50:54 +02:00
2019-02-06 12:21:56 +00:00
2018-10-30 17:09:01 +09:00
2018-08-17 09:25:24 -05:00
2018-02-09 15:16:07 +00:00
2018-02-09 15:16:07 +00:00
2018-07-02 15:29:38 +03:00
2018-07-02 15:29:38 +03:00
2018-02-09 15:16:07 +00:00
2018-02-09 15:16:07 +00:00
2016-08-06 18:19:22 -07:00
2019-02-20 16:47:35 +01:00
2018-05-30 14:46:05 +03:00
2018-05-30 14:42:13 +03:00
2019-02-20 16:47:35 +01:00
2018-04-20 15:27:54 +03:00
2018-09-11 15:24:46 +01:00
2017-11-10 12:50:41 -06:00
2016-08-02 14:19:11 +03:00
2018-01-18 11:24:19 +00:00
2018-01-18 11:24:19 +00:00
2019-02-06 12:21:56 +00:00
2019-02-06 12:21:56 +00:00
2019-02-06 12:21:56 +00:00
2019-02-06 12:21:56 +00:00
2019-02-06 12:21:56 +00:00
2018-05-28 16:38:05 +03:00
2019-02-18 10:46:10 +00:00
2016-07-26 16:26:08 -07:00
2019-02-20 16:47:35 +01:00
2018-11-20 18:00:09 +02:00
2019-02-06 12:21:56 +00:00
2018-05-24 17:20:04 +03:00
2016-07-01 14:10:26 +03:00
2016-07-01 14:10:26 +03:00
2018-12-18 15:37:34 +02:00
2017-11-27 11:41:17 +02:00
2016-06-23 17:44:54 +03:00
2018-02-09 15:16:07 +00:00
2017-09-29 10:20:42 +03:00
2018-05-30 14:46:24 +03:00
2019-02-20 16:47:35 +01:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2016-06-23 17:44:54 +03:00
2019-02-20 16:47:35 +01:00
2018-12-18 15:37:34 +02:00
2018-06-11 16:20:39 +03:00
2016-06-23 17:44:54 +03:00
2018-04-17 15:19:57 +03:00
2018-02-14 15:14:16 +02:00