Re: [PATCH] drm/vmwgfx/stdu: Use drm_mode_config_reset

2020-08-06 Thread Roland Scheidegger
I was investigating this bug too and this seems correct to me. I've tested it with a kernel which doesn't have the other crash issue, and indeed it seems to work fine. That said, this also needs to be fixed in the older paths (these will be used by vms using older hw version lacking some capabilit

[PATCH] drm/vmwgfx/stdu: Use drm_mode_config_reset

2020-08-06 Thread Daniel Vetter
When converting to atomic the state reset was done by directly calling the functions, and before the modeset object was fully initialized. This means the various ->dev pointers weren't set up. After commit 51f644b40b4b794b28b982fdd5d0dd8ee63f9272 Author: Daniel Vetter Date: Fri Jun 12 18:00:49