aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBen Widawsky <[email protected]>2013-10-04 21:22:49 -0700
committerDaniel Vetter <[email protected]>2013-10-10 12:47:07 +0200
commit78511f2a6fc6960c8917d9655fffb687822a0225 (patch)
tree73ec601c014e4b47381ef8f3bd7b6d84a5c1a1c9 /tools/perf/scripts/python
parente252d07aff961f8553822cda621490d9aeef8a06 (diff)
drm/i915: Prevent using uninitialized MMIO funcs
For upcoming patches which will have GEN specific MMIO functions, we'll need to initialize the uncore data structure earlier than we do today. If we do not do this, the following will be problematic: intel_uncore_sanitize intel_disable_gt_powersave gen6_disable_rps I915_WRITE(GEN6_RC_CONTROL, 0); <--- MMIO intel_uncore_init // initializes MMIO By initializing the function pointers first, we should be safe. Signed-off-by: Ben Widawsky <[email protected]> Reviewed-by: Damien Lespiau <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions