mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
media: qcom: camss: vfe: Fix BPL alignment for QCM2290
VFE-340 requires 8-byte alignment instead of 16-byte. This adjustment
prevents image corruption/misaligment when padding is needed.
Example: For SRGGB10_1X10/3280x2464, aligned BPL was 4112 instead of 4104
Fixes: 9e89149a19 ("media: qcom: camss: add support for QCM2290 camss")
Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
parent
40b7a19f32
commit
94662f560b
|
|
@ -1989,7 +1989,6 @@ static int vfe_bpl_align(struct vfe_device *vfe)
|
|||
int ret = 8;
|
||||
|
||||
switch (vfe->camss->res->version) {
|
||||
case CAMSS_2290:
|
||||
case CAMSS_7280:
|
||||
case CAMSS_8250:
|
||||
case CAMSS_8280XP:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user