diff options
author | Matthew Brost <matthew.brost@intel.com> | 2022-01-11 08:39:29 -0800 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2022-01-31 09:34:54 +0000 |
commit | 5ae13c305ef8cb54efc4f0ba4565709b9f320fed (patch) | |
tree | 7f2245d6488f1b7863c1656884b853e6dc8371e3 /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | 8172f41859cf7516e73eb957297e6752b3073119 (diff) | |
download | linux-5ae13c305ef8cb54efc4f0ba4565709b9f320fed.tar.gz linux-5ae13c305ef8cb54efc4f0ba4565709b9f320fed.tar.bz2 linux-5ae13c305ef8cb54efc4f0ba4565709b9f320fed.zip |
drm/i915: Lock timeline mutex directly in error path of eb_pin_timeline
Don't use the interruptable version of the timeline mutex lock in the
error path of eb_pin_timeline as the cleanup must always happen.
v2:
(John Harrison)
- Don't check for interrupt during mutex lock
v3:
(Tvrtko)
- A comment explaining why lock helper isn't used
Fixes: 544460c33821 ("drm/i915: Multi-BB execbuf")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220111163929.14017-1-matthew.brost@intel.com
(cherry picked from commit cb935c4618bd2ff9058feee4af7088446da6a763)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions