[PATCH AUTOSEL 6.15 052/110] media: rkvdec: h264: Use bytesperline and buffer height as virstride

Greg KH gregkh at linuxfoundation.org
Sun Jun 1 22:31:19 PDT 2025


On Sun, Jun 01, 2025 at 07:23:34PM -0400, Sasha Levin wrote:
> From: Jonas Karlman <jonas at kwiboo.se>
> 
> [ Upstream commit d5e0aa61470c48ddc04d433a00e79cef8716377a ]
> 
> Use bytesperline and buffer height to calculate the strides configured.
> 
> This does not really change anything other than ensuring the
> bytesperline that is signaled to userspace matches what is configured
> in HW.
> 
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
> Reviewed-by: Nicolas Dufresne <nicolas.dufresne at collabora.com>
> Tested-by: Nicolas Dufresne <nicolas.dufresne at collabora.com>
> Tested-by: Christopher Obbard <chris.obbard at collabora.com>
> Signed-off-by: Nicolas Dufresne <nicolas.dufresne at collabora.com>
> Signed-off-by: Hans Verkuil <hverkuil at xs4all.nl>
> Signed-off-by: Sasha Levin <sashal at kernel.org>
> ---
> 
> ### Key Reasons for NO Backport: 1. **Not a Bug Fix**: The commit
> message explicitly states "This does not really change anything other
> than ensuring the bytesperline that is signaled to userspace matches
> what is configured in HW." This is not fixing a functional bug but
> rather improving consistency between userspace and hardware
> configuration.

As the bot said "NO", why was this picked up?

thanks,

greg k-h



More information about the Linux-mediatek mailing list