diff options
author | Thomas Hellström <[email protected]> | 2020-09-03 15:07:17 +0200 |
---|---|---|
committer | Joonas Lahtinen <[email protected]> | 2020-09-07 15:08:11 +0300 |
commit | e0ee152fce25dc9269c7ea5280c98aa4b3682759 (patch) | |
tree | f61dab3d59c1621f6fb8b0ff2911709637c3d9fb /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | |
parent | f4b3c395540aa3d4f5a6275c5bdd83ab89034806 (diff) |
drm/i915: Unlock the shared hwsp_gtt object after pinning
The hwsp_gtt object is used for sub-allocation and could therefore
be shared by many contexts causing unnecessary contention during
concurrent context pinning.
However since we're currently locking it only for pinning, it remains
resident until we unpin it, and therefore it's safe to drop the
lock early, allowing for concurrent thread access.
Signed-off-by: Thomas Hellström <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions