diff options
| author | Chris Wilson <[email protected]> | 2019-08-23 16:39:44 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-08-23 19:44:21 +0100 |
| commit | 636e83f2f208555c3d19d8b454ebdd8d8f4652cc (patch) | |
| tree | a3580542341a2e26833cc2336710354cc9dc185d /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 191797a892c91aec6cdffc4e05696b722d779fe3 (diff) | |
drm/i915: Flush the existing fence before GGTT read/write
Our fence management is lazy, very lazy. If the user marks an object as
untiled, we do not immediately flush the fence but merely mark it as
dirty. On the next use we have to remember to check and remove the fence,
by which time we hope it is idle and we do not have to wait.
v2: Throw away the old fence on the next ggtt_pin.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111468
Fixes: 1f7fd484fff1 ("drm/i915: Replace i915_vma_put_fence()")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions