Commit e486e8a
committed
drm/vc4: plane: TPZ scaling modes cannot reduce lbm size when alpha-less
spec says "Note that there is not an extra mode to save memory for alpha-less formats" in the TPZ section.
Curently, if first plane is RGB888 and scaled down (TPZ) a second plane will corrupt the LBM and result in garbage
I've also folded in the modification to components to the function as it seems misplaced1 parent 89f3cb8 commit e486e8a
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
802 | 802 | | |
803 | 803 | | |
804 | 804 | | |
805 | | - | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
806 | 810 | | |
807 | 811 | | |
808 | 812 | | |
| |||
833 | 837 | | |
834 | 838 | | |
835 | 839 | | |
836 | | - | |
837 | | - | |
838 | | - | |
839 | 840 | | |
840 | 841 | | |
841 | 842 | | |
| |||
0 commit comments