summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorMichael Bommarito <michael.bommarito@gmail.com>2026-06-16 22:19:02 -0400
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-09-07 09:01:05 +0200
commit06236b094c899c22c12ac5097935eb6719293de8 (patch)
treeedaa692fd4ddb7f28ca0d568d49fcf612910c688 /scripts/Makefile.thinlto
parent81ad46bb33d8fd279aaa33af5296c648814c964b (diff)
downloadlinux-06236b094c899c22c12ac5097935eb6719293de8.tar.gz
linux-06236b094c899c22c12ac5097935eb6719293de8.zip
media: verisilicon: hantro: bound G2 HEVC tile loop to the buffer capacity
prepare_tile_info_buffer() writes one entry per tile into the tile_sizes DMA buffer, sized for a grid equal to the PPS uAPI array capacity. Use the bounded v4l2_hevc_pps_num_tile_columns() / v4l2_hevc_pps_num_tile_rows() helpers so the loops stay inside the buffer. Fixes: cb5dd5a0fa51 ("media: hantro: Introduce G2/HEVC decoder") Assisted-by: Claude:claude-opus-4-8 Cc: stable@vger.kernel.org Signed-off-by: Michael Bommarito <michael.bommarito@gmail.com> Reviewed-by: Benjamin Gaignard <benjamin.gaignard@collabora.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions