Files
linux/drivers/gpu/drm
Ville Syrjälä b684822a44 drm: Skip drm_mode_config_validate() for !modeset
drm_mode_config_init() may not have been called when the driver/device
doesn't support modeset. That will cause drm_mode_config_validate()
to oops. Skip the validation for !modeset.

TODO: We may want to consider calling drm_mode_config_init()
unconditionally to avoid similar issues elsewhere...

Fixes: 74d2aacbe8 ("drm: Validate encoder->possible_clones")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200318182518.31618-1-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
2020-03-18 20:37:22 +02:00
..
2020-03-17 09:29:11 +01:00
2020-03-02 09:22:43 +01:00
2020-03-11 07:27:21 +10:00
2020-03-02 09:22:49 +01:00
2020-03-11 07:27:21 +10:00
2020-03-17 09:29:11 +01:00
2020-03-16 09:26:18 +01:00
2020-01-14 16:22:17 -05:00
2020-03-16 09:27:09 +01:00
2020-03-09 09:22:50 +00:00
2020-03-18 14:48:34 +01:00