[Intel-gfx] [PATCH] drm/i915: Wrap external callers to IPS state with appropriate locks
Chris Wilson
chris at chris-wilson.co.uk
Tue Sep 25 15:55:16 CEST 2012
On Tue, 25 Sep 2012 14:25:09 +0100, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> Finishes commit 02d719562ef40483648b2cc46899d4a2ff5953bb
> Author: Daniel Vetter <daniel.vetter at ffwll.ch>
> Date: Thu Aug 9 16:44:54 2012 +0200
>
> drm/i915: properly guard ilk ips state
>
> The core functions were annotated with their locking requirements, but
> we overlooked that they were exported, without any control over the
> locking, to debugfs. So in order to enable debugfs to read the registers
> without triggering sanity checks, we change the exported entry points to
> properly take the required locks before calling the core routines.
Pardon me, resent the wrong patch...
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list