diff options
author | Daniel Vetter <[email protected]> | 2020-08-06 17:42:27 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2020-08-11 03:16:02 +0200 |
commit | 68745d1edf1700a668c15ecbed466d18f14c7e9b (patch) | |
tree | 5212e8b953293238ea617002832c9ff1706bec0a /lib/test_overflow.c | |
parent | 4437c1152ce0e57ab8f401aa696ea6291cc07ab1 (diff) |
drm/vmwgfx/stdu: Use drm_mode_config_reset
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 <[email protected]>
Date: Fri Jun 12 18:00:49 2020 +0200
drm/atomic-helper: reset vblank on crtc reset
this started to oops because now we're trying to derefence
drm_crtc->dev. Fix this up by entirely switching over to
drm_mode_config_reset, called once everything is set up.
Fixes: 51f644b40b4b ("drm/atomic-helper: reset vblank on crtc reset")
Reported-by: Tetsuo Handa <[email protected]>
Cc: Tetsuo Handa <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Tested-by: Roland Scheidegger <[email protected]>
Signed-off-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions