diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-06-14 23:06:16 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-06-15 08:51:34 +0100 |
| commit | dfdeaff293962a55a9ab8699cfc2ef960fa4b754 (patch) | |
| tree | 95863d452ae632c88243dce713aaf175604c0e0c /lib/mpi/mpiutil.c | |
| parent | 422d7df4f090bbbc4d49e66d533a259ba63ec70d (diff) | |
drm/i915: Avoid tainting i915_gem_park() with wakeref.lock
While we need to flush the wakeref before parking, we do not need to
perform the i915_gem_park() itself underneath the wakeref lock, merely
the struct_mutex. If we rearrange the locks, we can avoid the unnecessary
tainting.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190614220616.24932-1-chris@chris-wilson.co.uk
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
