aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorTom O'Rourke <Tom.O'[email protected]>2013-09-16 14:56:43 -0700
committerDaniel Vetter <[email protected]>2013-10-10 14:23:39 +0200
commit5c9669cee534cbb834d51aae115267f5e561b622 (patch)
tree12b901434fc7dc686b5fb645384bb9f754b26a0a /tools/perf/scripts/python/bin
parent09e14bf3ba4b72be4d57d99e3620beae4fb1ecd8 (diff)
drm/i915: Finish enabling rps before use by sysfs or debugfs
Enabling rps (turbo setup) was put in a work queue because it may take quite awhile. This change flushes the work queue to initialize rps values before use by sysfs or debugfs. Specifically, rps.delayed_resume_work is flushed before using rps.hw_max, rps.max_delay, rps.min_delay, or rps.cur_delay. This change fixes a problem in sysfs where show functions using uninitialized values show incorrect values and store functions using uninitialized values in range checks incorrectly fail to store valid input values. This change also addresses similar use before initialized problems in debugfs. Signed-off-by: Tom O'Rourke <Tom.O'[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions