summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorThomas Hellström <thomas.hellstrom@intel.com>2020-09-03 15:07:17 +0200
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>2020-09-03 18:24:17 +0300
commit6def22519ffabee69499d2314fabc86b9a013376 (patch)
treef61dab3d59c1621f6fb8b0ff2911709637c3d9fb /samples
parentbc1967f87f0bdc182523393b986e6e2e5ffae532 (diff)
drm/i915: Unlock the shared hwsp_gtt object after pinningdrm-intel-gt-next
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 <thomas.hellstrom@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions