aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2018-06-11 23:02:57 +0300
committerVille Syrjälä <[email protected]>2018-07-04 23:03:30 +0300
commit78c357dd3fcf51de61a0b8db3abdb8ed5aea6dd8 (patch)
tree3be7b5dd4204b1f571b3c2d4862cc63657034ed7 /include/linux/fpga/fpga-bridge.h
parent0ba7c51a6fd80a89236f6ceb52e63f8a7f62bfd3 (diff)
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ä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Imre Deak <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions