commit | 0d9653014f081eacdeb82b0a8ad0e0d4ce87e3da | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Mon Dec 02 14:23:02 2013 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Dec 04 12:09:34 2013 +0100 |
tree | 67cabdad3a9a47305dd7abaf2abfd6d1eb0b6809 | |
parent | 54c136d4e525684a3310e3dd76de8ae81d7dbbf7 [diff] |
drm/i915: Add REG_WRITE_FOOTER Add a REG_WRITE_FOOTER macro as a counterpart to the REG_WRITE_HEADER. The current code has the spin_lock() in the HEADER, but the spin_unlock() is open coded, which looks rather confusing on the first glance. A bit of additional symmetry might help. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>