diff options
| author | Ville Syrjälä <[email protected]> | 2017-03-09 17:44:34 +0200 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2017-03-13 21:15:10 +0200 |
| commit | 44e921d4a19846e39fa818afa9d2d22c3117210a (patch) | |
| tree | 54dd567690fcac683a0d8bdd8ee8aae080f57a89 /tools/perf/scripts/python/syscall-counts.py | |
| parent | dd584fc0711a28fb338bf66a623178e468c82272 (diff) | |
drm/i915: Optimize VLV/CHV display FIFO updates
Use I915_{READ,WRITE}_FW() for updating the DSPARB registers on
VLV/CHV. This is less expesive as we can grab the uncore.lock across
the entire sequence of reads and writes instead of each register
access grabbing it.
This also allows us to eliminate the dsparb lock entirely as the
uncore.lock now effectively protects the contents of the DSPARB
registers.
v2: Add a note that interrupts are already disabled (Chris)
Cc: Chris Wilson <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions