summaryrefslogtreecommitdiff
path: root/fs/attr.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2018-06-11 23:02:57 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2018-07-04 23:03:30 +0300
commit78c357dd3fcf51de61a0b8db3abdb8ed5aea6dd8 (patch)
tree3be7b5dd4204b1f571b3c2d4862cc63657034ed7 /fs/attr.c
parent0ba7c51a6fd80a89236f6ceb52e63f8a7f62bfd3 (diff)
downloadlinux-78c357dd3fcf51de61a0b8db3abdb8ed5aea6dd8.tar.xz
drm/i915: Fix pre-ILK error interrupt ack
Adjust the EIR clearing to cope with the edge triggered IIR on i965/g4x. To guarantee an edge in the ISR master error bit we temporarily mask everything in EMR. As some of the EIR bits can't even be directly cleared we also borrow a trick from i915_clear_error_registers() and permanently mask any bit that remains high. No real thought given to how we might unmask them again once the cause for the error has been clered. I suppose on pre-g4x GPU reset will reinitialize EMR from scratch. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180611200258.27121-3-ville.syrjala@linux.intel.com Reviewed-by: Imre Deak <imre.deak@intel.com>
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions