Commit 7c56d1b
FROMLIST(v3): drm/rockchip: vop2: Support setting custom background color
The Rockchip VOP2 display controller allows configuring the background
color of each video output port.
Since a previous patch introduced the BACKGROUND_COLOR CRTC property,
which defaults to solid black, make use of it when programming the
hardware.
Note the maximum precision allowed by the display controller is 10bpc,
while the alpha component is not supported, hence ignored.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>1 parent 818bafa commit 7c56d1b
File tree
2 files changed
+16
-1
lines changed- drivers/gpu/drm/rockchip
2 files changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1592 | 1592 | | |
1593 | 1593 | | |
1594 | 1594 | | |
| 1595 | + | |
1595 | 1596 | | |
1596 | 1597 | | |
1597 | 1598 | | |
| |||
1637 | 1638 | | |
1638 | 1639 | | |
1639 | 1640 | | |
1640 | | - | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
1641 | 1646 | | |
1642 | 1647 | | |
1643 | 1648 | | |
| |||
2024 | 2029 | | |
2025 | 2030 | | |
2026 | 2031 | | |
| 2032 | + | |
| 2033 | + | |
| 2034 | + | |
| 2035 | + | |
2027 | 2036 | | |
2028 | 2037 | | |
2029 | 2038 | | |
| |||
2513 | 2522 | | |
2514 | 2523 | | |
2515 | 2524 | | |
| 2525 | + | |
| 2526 | + | |
2516 | 2527 | | |
2517 | 2528 | | |
2518 | 2529 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
660 | 660 | | |
661 | 661 | | |
662 | 662 | | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
663 | 667 | | |
664 | 668 | | |
665 | 669 | | |
| |||
0 commit comments