diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-09-17 11:00:29 +0300 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-09-17 17:25:40 +0300 |
| commit | 80fa64d62067ea7390cd27d924dcb7c028e455e9 (patch) | |
| tree | 3397c7bf0c495ccdcf133e5bdb0672e0f060f5be /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | bb120e1171a966429287865134265811887daa6c (diff) | |
| download | linux-80fa64d62067ea7390cd27d924dcb7c028e455e9.tar.xz | |
drm/i915: Only apply a rmw mmio update if the value changes
If we try to clear, or even set, a bit in the register that doesn't
change the register state; skip the write. There's a slight danger in
that the register acts as a latch-on-write, but I do not think we use a
rmw cycle with any such latch registers.
Suggested-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190917080029.27632-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
