commit | c95d31c3df1b9ff29bcd85c47324e16d430bbd5a | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Nov 21 10:35:46 2019 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Thu Nov 21 12:14:45 2019 +0000 |
tree | 338abef8d2d085dedf84bb4a6816c82ea1e6c770 | |
parent | 090a82e9166fbefdb8d371431d4a7f514b3acb86 [diff] |
drm/i915/execlists: Lock the request while validating it during promotion Since the request is already on the HW as we perform its validation, it and even its subsequent barrier may be concurrently retired before we process the assertions. If it is retired already and so off the HW, our assertions become void and we need to ignore them. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=112363 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191121103546.146487-1-chris@chris-wilson.co.uk