summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2017-12-28 09:18:20 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-01-03 04:56:38 -0500
commit0097ff8e3ea0a737ee3c528ab7c85c35bef78e28 (patch)
treecafe447a026b2a771239359ecfda793662debabc /tools/perf/scripts/python/export-to-postgresql.py
parentdf93dc61b0d8b19a5c9db545cf3fcc24f88dfde4 (diff)
media: vb2: Enforce VB2_MAX_FRAME in vb2_core_reqbufs better
The check for the number of buffers requested against the maximum, VB2_MAX_FRAME, was performed before checking queue's minimum number of buffers. Reverse the order, thus ensuring that under no circumstances num_buffers exceeds VB2_MAX_FRAME here. Also add a warning of the condition. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions