Re: [PATCH] drm/i915: Mark runtime_pm as a special class of lock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Chris Wilson (2018-07-20 12:10:16)
> Runtime power management acts as a type of "wakelock" that code must
> hold in order to access the device. Such a lock has all the ordering
> issues of a regular lock, and so it would be convenient to use lockdep
> to catch violations and cyclic deadlocks.
> 
> In the long run, it will be interesting to use cross-release tracking so
> that we could mark the runtime wakelock as held for as long as the
> device was suspended, so that we catch whenever we might be trying to
> access the device having forgotten about acquiring the wakelock.
> 
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> Cc: Daniel Vetter <daniel.vetter@xxxxxxxx>

Wrong branch, ignore this for the moment. We'll be back with this later
after cross-release.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux