summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@linaro.org>2019-09-11 11:45:59 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-10-02 10:57:28 -0300
commitc690435ed07901737e5c007a65ec59f53b33eb71 (patch)
tree387849e9dccf62d2a5c9540cf1501f37e6f71dbd /tools/perf/scripts/python
parent503e59365dd134b2c63864f14e2de0476284b003 (diff)
downloadlinux-c690435ed07901737e5c007a65ec59f53b33eb71.tar.gz
linux-c690435ed07901737e5c007a65ec59f53b33eb71.zip
media: venus: core: Fix msm8996 frequency table
In downstream driver, there are two frequency tables defined, one for the encoder and one for the decoder: /* Encoders / <972000 490000000 0x55555555>, / 4k UHD @ 30 / <489600 320000000 0x55555555>, / 1080p @ 60 / <244800 150000000 0x55555555>, / 1080p @ 30 / <108000 75000000 0x55555555>, / 720p @ 30 */ /* Decoders / <1944000 490000000 0xffffffff>, / 4k UHD @ 60 / < 972000 320000000 0xffffffff>, / 4k UHD @ 30 / < 489600 150000000 0xffffffff>, / 1080p @ 60 / < 244800 75000000 0xffffffff>; / 1080p @ 30 */ It shows that encoder always needs a higher clock than decoder. In current venus driver, the unified frequency table is aligned with the downstream decoder table which causes performance issues in encoding scenarios. Fix that by aligning frequency table on worst case (encoding). Signed-off-by: Loic Poulain <loic.poulain@linaro.org> Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions