Commit 45643f5
drm/rockchip: vop2: Support setting custom background color
VOP2 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, take it into account when programming the
hardware.
Note that only the 10 least significant bits of each color component are
used, as this is the maximum precision supported by the display
controller.
Signed-off-by: Cristian Ciocaltea <[email protected]>1 parent e90bee2 commit 45643f5
File tree
2 files changed
+12
-1
lines changed- drivers/gpu/drm/rockchip
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1544 | 1544 | | |
1545 | 1545 | | |
1546 | 1546 | | |
| 1547 | + | |
1547 | 1548 | | |
1548 | 1549 | | |
1549 | 1550 | | |
| |||
1597 | 1598 | | |
1598 | 1599 | | |
1599 | 1600 | | |
1600 | | - | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
1601 | 1606 | | |
1602 | 1607 | | |
1603 | 1608 | | |
| |||
2884 | 2889 | | |
2885 | 2890 | | |
2886 | 2891 | | |
| 2892 | + | |
| 2893 | + | |
2887 | 2894 | | |
2888 | 2895 | | |
2889 | 2896 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
424 | 428 | | |
425 | 429 | | |
426 | 430 | | |
| |||
0 commit comments