diff options
| author | Chris Wilson <[email protected]> | 2016-05-14 07:26:35 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2016-05-14 08:51:39 +0100 |
| commit | f7770bfd9fd2ef13a5b70de1ffbc16019a929b48 (patch) | |
| tree | c1a32154a7fa478c9838ab015a3d2348afa90a68 /scripts | |
| parent | 975f7ff42edfbad53d65ad63a4f3e7ada8c7538f (diff) | |
drm/i915: Skip clearing the GGTT on full-ppgtt systems
Under full-ppgtt, access to the global GTT is carefully regulated
through hardware functions (i.e. userspace cannot read and write to
arbitrary locations in the GGTT via the GPU). With this restriction in
place, we can forgo clearing stale entries from the GGTT as they will
not be accessed.
For aliasing-ppgtt, we could almost do the same except that we do allow
userspace access to the global-GTT via execbuf in order to workraound
some quirks of certain instructions. (This execbuf path is filtered out
with EINVAL on full-ppgtt.)
The most dramatic effect this will have will be during resume, as with
full-ppgtt the GGTT is only used sparingly.
References: https://bugs.freedesktop.org/show_bug.cgi?id=94722
Signed-off-by: Chris Wilson <[email protected]>
Cc: David Weinehall <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Tested-by: David Weinehall <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions