[Intel-gfx] [PATCH] drm/i915: Add REG_WRITE_FOOTER

Mika Kuoppala mika.kuoppala at linux.intel.com
Mon Dec 2 14:10:21 CET 2013


ville.syrjala at linux.intel.com writes:

> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> 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 at linux.intel.com>

Reviewed-by: Mika Kuoppala <mika.kuoppala at intel.com>



More information about the Intel-gfx mailing list