diff options
author | Chris Wilson <[email protected]> | 2020-03-06 15:46:47 +0000 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2020-03-11 23:12:39 +0200 |
commit | 8ea6bb8e4d47e07518e5dba4f5cb77e210f0df82 (patch) | |
tree | 63ae0ea10427740862aa9ec90421275c9602d586 /lib/netdev-notifier-error-inject.c | |
parent | eafc2aa20fba319b6e791a1b0c45a91511eccb6b (diff) |
drm/i915/gt: Close race between cacheline_retire and free
If the cacheline may still be busy, atomically mark it for future
release, and only if we can determine that it will never be used again,
immediately free it.
Closes: https://gitlab.freedesktop.org/drm/intel/issues/1392
Fixes: ebece7539242 ("drm/i915: Keep timeline HWSP allocated until idle across the system")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Cc: <[email protected]> # v5.2+
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 2d4bd971f5baa51418625f379a69f5d58b5a0450)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions