diff options
author | Mika Kuoppala <[email protected]> | 2017-03-15 18:07:13 +0200 |
---|---|---|
committer | Mika Kuoppala <[email protected]> | 2017-03-16 12:28:28 +0200 |
commit | 47c21d9a1a7b4b3177dde686ce0eb71cdf25e07b (patch) | |
tree | fc51595627946c7fbdbe0009d5a2c1950d9d2a93 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | c5a0ad114b6a9f4ad03f30bd7c61994bc6e8ab52 (diff) |
drm/i915: Extend vlv/chv residency resolution
Vlv and chv residency counters are 40 bits in width.
With a control bit, we can choose between upper or lower
32 bit window into this counter.
Lets toggle this bit on and off on and read both parts.
As a result we can push the wrap from 13 seconds to 54
minutes.
v2: commit msg, loop readability, goto elimination (Chris)
v3: bug ref, divide outside runtime pm lock (Chris)
References: https://bugs.freedesktop.org/show_bug.cgi?id=94852
Reported-by: Len Brown <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Mika Kuoppala <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions