]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: qcom: camss: vfe: Fix BPL alignment for QCM2290
authorLoic Poulain <loic.poulain@oss.qualcomm.com>
Wed, 17 Sep 2025 12:43:12 +0000 (14:43 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Wed, 24 Sep 2025 10:52:09 +0000 (12:52 +0200)
commit94662f560bfff75b58a7a68cab4bbd276c785da7
tree101c87a1b15d0b454e551f197d1eaebf7a00357a
parent40b7a19f321e65789612ebaca966472055dab48c
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: 9e89149a19ed ("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>
drivers/media/platform/qcom/camss/camss-vfe.c