summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2011-04-25 11:22:22 -0700
committerKeith Packard <keithp@keithp.com>2011-05-10 13:56:45 -0700
commitb7287d8054d219b3009f7ca82edf24f89fd363e5 (patch)
tree95f92a64acbeafd1846d3378551c69f3e7ea150f /tools/perf/util/scripting-engines/trace-event-python.c
parent2c7111dbaec72b01c804afb8ad77c6c7523986fd (diff)
drm/i915: proper use of forcewake
Moved the macros around to properly do reads and writes for the given GPU. This is to address special requirements for gen6 (SNB) reads and writes. Registers in the range 0-0x40000 on gen6 platforms require special handling. Instead of relying on the callers to pick the registers correctly, move the logic into the read and write functions. Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions