Commit 9c744ee
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 8dcbf7b commit 9c744ee
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 | | |
| |||
835 | 839 | | |
836 | 840 | | |
837 | 841 | | |
838 | | - | |
839 | | - | |
840 | | - | |
841 | 842 | | |
842 | 843 | | |
843 | 844 | | |
| |||
0 commit comments