diff options
author | 2019-06-14 23:06:16 +0100 | |
---|---|---|
committer | 2019-06-15 08:51:34 +0100 | |
commit | dfdeaff293962a55a9ab8699cfc2ef960fa4b754 (patch) | |
tree | 95863d452ae632c88243dce713aaf175604c0e0c /drivers/gpu/drm/i915/intel_atomic_plane.c | |
parent | drm/i915: Replace engine->timeline with a plain list (diff) | |
download | linux-dev-dfdeaff293962a55a9ab8699cfc2ef960fa4b754.tar.xz linux-dev-dfdeaff293962a55a9ab8699cfc2ef960fa4b754.zip |
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 'drivers/gpu/drm/i915/intel_atomic_plane.c')
0 files changed, 0 insertions, 0 deletions