aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTodor Tomov <[email protected]>2017-08-08 09:30:17 -0400
committerMauro Carvalho Chehab <[email protected]>2017-08-26 15:31:06 -0400
commitbbde31047434678f60820c7187ca7b7ed6e1809f (patch)
tree53cde1e532dcb02c56d90e8bdc4f101779bd28f8 /tools/perf/scripts/python
parent474a53d6454fe3bc3dadabf77dca36896608e6a0 (diff)
media: camss: Use optimal clock frequency rates
Use standard V4L2 control to get pixel clock rate from a sensor linked in the media controller pipeline. Then calculate clock rates on CSIPHY, CSID and VFE to use the lowest possible. If the currnet pixel clock rate of the sensor cannot be read then use the highest possible. This case covers also the CSID test generator usage. If VFE is already powered on by another pipeline, check that the current VFE clock rate is high enough for the new pipeline. If not return busy error code as VFE clock rate cannot be changed while VFE is running. Signed-off-by: Todor Tomov <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions