forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork1
Commit140bcaa
committed
drm/vmwgfx: Fix black screen and device errors when running without fbdev
When we are running without fbdev, transitioning from the login screen toX or gnome-shell/wayland will cause a vt switch and the driver will disablesvga mode, losing all modesetting resources. However, the kms atomic statedoes not reflect that and may think that a crtc is still turned on, whichwill cause device errors when we try to bind an fb to the crtc, and thescreen will remain black.Fix this by turning off all kms resources before disabling svga mode.Cc: <stable@vger.kernel.org>Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>Reviewed-by: Sinclair Yeh <syeh@vmware.com>1 parent93dfdf9 commit140bcaa
File tree
4 files changed
+25
-1
lines changed- drivers/gpu/drm/vmwgfx
4 files changed
+25
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1337 | 1337 |
| |
1338 | 1338 |
| |
1339 | 1339 |
| |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
1340 | 1353 |
| |
1341 | 1354 |
| |
1342 | 1355 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
938 | 938 |
| |
939 | 939 |
| |
940 | 940 |
| |
| 941 | + | |
941 | 942 |
| |
942 | 943 |
| |
943 | 944 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2851 | 2851 |
| |
2852 | 2852 |
| |
2853 | 2853 |
| |
| 2854 | + | |
| 2855 | + | |
| 2856 | + | |
| 2857 | + | |
| 2858 | + | |
| 2859 | + | |
| 2860 | + | |
| 2861 | + | |
| 2862 | + | |
| 2863 | + | |
| 2864 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
439 | 439 |
| |
440 | 440 |
| |
441 | 441 |
| |
442 |
| - | |
443 | 442 |
|
0 commit comments
Comments
(0)