Commit fc47f79
drm/vc4: crtc: Support odd horizontal timings on BCM2712
BCM2711 runs pixelvalve at two pixels per clock cycle which results
in an unfortunate limitation that odd horizontal timings are not
possible. This is apparent on the standard DMT mode of 1366x768@60
which cannot be driven with correct timing.
BCM2712 defaults to the same behaviour, but has a mode to support
odd timings. While internally it still runs at two pixels per clock,
setting the PV_VCONTROL_ODD_TIMING bit makes it appear externally
to behave as it is one pixel per clock.
Switching to this mode fixes 1366x768@60 mode, and other custom
resultions with odd horizontal timings.
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
(cherry picked from commit 06e5f82e61aca21050d66887b44fd7e3bff13591 rpi-6.6.y)
Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>1 parent 20dbe88 commit fc47f79
3 files changed
+7
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | 402 | | |
409 | 403 | | |
410 | 404 | | |
| |||
449 | 443 | | |
450 | 444 | | |
451 | 445 | | |
| 446 | + | |
452 | 447 | | |
453 | 448 | | |
454 | 449 | | |
| |||
460 | 455 | | |
461 | 456 | | |
462 | 457 | | |
| 458 | + | |
463 | 459 | | |
464 | 460 | | |
465 | 461 | | |
| |||
1332 | 1328 | | |
1333 | 1329 | | |
1334 | 1330 | | |
1335 | | - | |
| 1331 | + | |
1336 | 1332 | | |
1337 | 1333 | | |
1338 | 1334 | | |
| |||
1345 | 1341 | | |
1346 | 1342 | | |
1347 | 1343 | | |
1348 | | - | |
| 1344 | + | |
1349 | 1345 | | |
1350 | 1346 | | |
1351 | 1347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3917 | 3917 | | |
3918 | 3918 | | |
3919 | 3919 | | |
3920 | | - | |
| 3920 | + | |
3921 | 3921 | | |
3922 | 3922 | | |
3923 | 3923 | | |
| |||
3944 | 3944 | | |
3945 | 3945 | | |
3946 | 3946 | | |
3947 | | - | |
| 3947 | + | |
3948 | 3948 | | |
3949 | 3949 | | |
3950 | 3950 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
| |||
0 commit comments