summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorDave Stevenson <dave.stevenson@raspberrypi.com>2025-06-11 19:37:16 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2025-06-17 10:50:01 +0200
commit377cc006a364dfdab2f3f221cfad63a9265200b8 (patch)
tree474e709b25444cf8ed132d555d1d6197d5f69107 /tools/perf/scripts/python/flamegraph.py
parent303d81635e1d9c949b370215cc94526ed81f2e3d (diff)
downloadlinux-377cc006a364dfdab2f3f221cfad63a9265200b8.tar.gz
linux-377cc006a364dfdab2f3f221cfad63a9265200b8.zip
media: tc358743: Return an appropriate colorspace from tc358743_set_fmt
When calling tc358743_set_fmt, the code was calling tc358743_get_fmt to choose a valid format. However that sets the colorspace based on information read back from the chip, not the colour format requested. The result was that if you called try or set format for UYVY when the current format was RGB3 then you would get told SRGB, and try RGB3 when current was UYVY and you would get told SMPTE170M. The value programmed in the VI_REP register for the colorspace is always set by this driver, therefore there is no need to read back the value, and never set to REC709. Return the colorspace based on the format set/tried instead. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions