[Intel-gfx] [PATCH 1/2] drm/i915: properly lock gt_fifo_count

Chris Wilson chris at chris-wilson.co.uk
Sun Nov 6 09:39:46 CET 2011


On Sun,  6 Nov 2011 01:41:35 +0100, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> Use a combination of atomic_t and a spinlocked slow-path to make most
> writes fast.

What happened to the rule that this was protected by struct_mutex?
Did you find a violation? Or is this step 1 in the hundred step plan to
clarify and fix the locking around register access?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list