Commit aa8e7a1
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.
Currently, 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 misplaced
Signed-off-by: Dom Cobley <popcornmix@gmail.com>1 parent 8b6719f commit aa8e7a1
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
805 | 805 | | |
806 | 806 | | |
807 | 807 | | |
808 | | - | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
809 | 812 | | |
810 | 813 | | |
811 | 814 | | |
| |||
836 | 839 | | |
837 | 840 | | |
838 | 841 | | |
839 | | - | |
840 | | - | |
841 | | - | |
842 | 842 | | |
843 | 843 | | |
844 | 844 | | |
| |||
0 commit comments