diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2014-04-01 15:37:17 -0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-04-01 23:10:13 +0200 |
commit | 105b122eff8f24de256fdb32e27209af8405ab14 (patch) | |
tree | bade9d0bdb8f3930ab0eeef30e64a5865ca4469b /tools/perf/scripts/python | |
parent | 337ba0175f49b2d3a0bcc893f97f539bda831007 (diff) |
drm/i915: fix SERR_INT init/reset code
The SERR_INT register is very similar to the other IIR registers, so
let's zero it at preinstall/uninstall and WARN for a non-zero value at
postinstall, just like we do with the other IIR registers. For this
one, there's no need to double-clear since it can't store more than
one interrupt.
v2: - Remove the is_zero assertion (Ben).
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions