Commit a278724
committed
drm/vmwgfx: Implement fbdev on kms v2
With screen targets the old legacy display system fbdev doesn't work
satisfactory anymore. At best the resolution is severely restricted.
Therefore implement fbdev on top of the kms system. With this change, fbdev
will be using whatever KMS backend is chosen.
There are helpers available for this, so in the future we'd probably want
to implement the helper callbacks instead of calling into our KMS
implementation directly.
v2: Make sure we take the mode_config mutex around modesetting,
Also clear the initial framebuffer using vzalloc instead of vmalloc.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>1 parent fd006a4 commit a278724
File tree
6 files changed
+436
-214
lines changed- drivers/gpu/drm/vmwgfx
6 files changed
+436
-214
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1120 | 1120 | | |
1121 | 1121 | | |
1122 | 1122 | | |
1123 | | - | |
1124 | | - | |
1125 | | - | |
1126 | | - | |
1127 | | - | |
1128 | | - | |
1129 | | - | |
1130 | | - | |
1131 | | - | |
1132 | | - | |
1133 | | - | |
1134 | | - | |
1135 | | - | |
1136 | | - | |
1137 | | - | |
1138 | | - | |
1139 | | - | |
1140 | 1123 | | |
1141 | 1124 | | |
1142 | 1125 | | |
| |||
1321 | 1304 | | |
1322 | 1305 | | |
1323 | 1306 | | |
| 1307 | + | |
| 1308 | + | |
1324 | 1309 | | |
1325 | 1310 | | |
1326 | 1311 | | |
| |||
1337 | 1322 | | |
1338 | 1323 | | |
1339 | 1324 | | |
1340 | | - | |
| 1325 | + | |
| 1326 | + | |
1341 | 1327 | | |
1342 | 1328 | | |
1343 | 1329 | | |
| |||
0 commit comments