diff options
author | 2012-09-25 10:31:40 +0400 | |
---|---|---|
committer | 2012-10-03 13:13:12 +1000 | |
commit | d89c8ce07168ef6cd16c71d0a9f618829e866e87 (patch) | |
tree | 418e10f2489d4222f2326e8f20cfeca14d1ec9cb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/nouveau/bios: check that fixed tvdac gpio data is valid before using it (diff) | |
download | linux-dev-d89c8ce07168ef6cd16c71d0a9f618829e866e87.tar.xz linux-dev-d89c8ce07168ef6cd16c71d0a9f618829e866e87.zip |
drm/nouveau: fix pm initialization order
If nouveau_pm_perflvl_get() fails, pm->profiles list will be left
uninitialized, which causes oops during nouveau_pm_fini().
Move INIT_LIST_HEAD before call to nouveau_pm_perflvl_get().
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions