aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorNicolas Dufresne <[email protected]>2022-12-23 19:16:47 +0100
committerMauro Carvalho Chehab <[email protected]>2023-02-08 07:26:27 +0100
commit29bd426764dee14a09e37700406f4a5920825fcc (patch)
tree9a3582473f227fb8e243637c5c76b47d8ef43a43 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent637046bb5ac9487e3f059a490f7b3045f1d1077a (diff)
media: hantro: Fix JPEG encoder ENUM_FRMSIZE on RK3399
Since 79c987de8b354, enumerating framesize on format set with "MODE_NONE" (any raw formats) is reporting an invalid frmsize. Size: Stepwise 0x0 - 0x0 with step 0/0 Before this change, the driver would return EINVAL, which is also invalid but worked in GStreamer. The original intent was not to implement it, hence the -ENOTTY return in this change. While drivers should implement ENUM_FRMSIZE for all formats and queues, this change is limited in scope to fix the regression. This fixes taking picture in Gnome Cheese software, or any software using GSteamer to encode JPEG with hardware acceleration. Fixes: 79c987de8b35 ("media: hantro: Use post processor scaling capacities") Reported-by: Robert Mader <[email protected]> Signed-off-by: Nicolas Dufresne <[email protected]> Reviewed-by: Benjamin Gaignard <[email protected]> Reviewed-by: Ezequiel Garcia <[email protected]> Tested-by: Robert Mader <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions