Skip to content
Commit e0ee152f authored by Thomas Hellström's avatar Thomas Hellström Committed by Joonas Lahtinen
Browse files

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: default avatarThomas Hellström <thomas.hellstrom@intel.com>
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
parent f4b3c395
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment