diff options
author | Ville Syrjälä <[email protected]> | 2015-03-11 22:52:08 +0200 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2015-03-17 22:30:29 +0100 |
commit | 968040b23027e400854255311953207ac9233ddc (patch) | |
tree | 64288855783976482aaf14500d4b3ccc10854448 /tools/perf/util/trace-event-scripting.c | |
parent | d272ddfa30b088870a925decba3c4a7f1a45badc (diff) |
drm/i915: Read CHV_PLL_DW8 from the correct offset
We accidentally pass 'pipe' instead of 'port' to CHV_PLL_DW8() and
with PIPE_C we end up at register offset 0x8320 which isn't the
0x8020 we wanted. Fix it.
The problem was fortunately caught by the sanity check in vlv_dpio_read():
WARNING: CPU: 1 PID: 238 at ../drivers/gpu/drm/i915/intel_sideband.c:200 vlv_dpio_read+0x77/0x80 [i915]()
DPIO read pipe C reg 0x8320 == 0xffffffff
The problem got introduced with this commit:
commit 71af07f91f12bbab96335e202c82525d31680960
Author: Vijay Purushothaman <[email protected]>
Date: Thu Mar 5 19:33:08 2015 +0530
drm/i915: Update prop, int co-eff and gain threshold for CHV
Cc: Vijay Purushothaman <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Todd Previte <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions