summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2016-06-01 11:39:27 +0300
committerBen Skeggs <bskeggs@redhat.com>2016-07-14 04:53:25 +0300
commit6ed7e74219be60c12dc803c2d6cafa0266f3cd32 (patch)
treeae245b981ba198e884ad6915ae6e79a95611c082 /tools/perf/scripts/python/call-graph-from-sql.py
parentafea21c9174e555defd55f488df2a99117457b4e (diff)
downloadlinux-6ed7e74219be60c12dc803c2d6cafa0266f3cd32.tar.xz
drm/nouveau/clk/gk20a: improve MNP programming
Split the MNP programming function into two functions for the cases where we allow sliding or not, instead of making it take a parameter for this. This results in less conditionals in the code and makes it easier to read. Also make the MNP programming functions take the PLL parameters as arguments, and move bits of code to more relevant places (previous programming tended to be just-in-time, which added more conditionnals in the code). Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions