commit | 4252fbc3d4d3abd09ccc7598342cc930d09aac27 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Tue Dec 09 21:28:30 2014 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Dec 10 17:47:25 2014 +0100 |
tree | e7a9a5b14980fde95858b094614268f2c9e04fcf | |
parent | 2be57922d46fdec4360ced2eb108832c5a90bc0e [diff] |
drm/i915: Protect pipe_crc->entries update Set the pipe_crc->entries pointer while holding the relevant spinlock. Doesn't matter too much since a spurious pipe crc interrupt would then just update one entry but later that entry would get cleared when head and tail are both set to 0. But being a bit more paranoid doesn't hurt. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>