diff options
| author | Chris Wilson <[email protected]> | 2014-08-11 12:00:12 +0200 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2014-08-11 12:01:29 +0200 |
| commit | e6a844687cf929ec053c7578d5ecc794a8a6c5cf (patch) | |
| tree | a8a9b1534bd862d48eba0f31282cac1cec6906f3 /tools/perf/scripts/python | |
| parent | dc8cd1e790081a31ba4d86c3c0812c348eeec7fc (diff) | |
drm/i915: Force CPU relocations if not GTT mapped
Move the decision on whether we need to have a mappable object during
execbuffer to the fore and then reuse that decision by propagating the
flag through to reservation. As a corollary, before doing the actual
relocation through the GTT, we can make sure that we do have a GTT
mapping through which to operate.
Note that the key to make this work is to ditch the
obj->map_and_fenceable unbind optimization - with full ppgtt it
doesn't make a lot of sense any more anyway.
v2: Revamp and resend to ease future patches.
v3: Refresh patch rationale
References: https://bugs.freedesktop.org/show_bug.cgi?id=81094
Signed-off-by: Chris Wilson <[email protected]>
Cc: Ben Widawsky <[email protected]>
Cc: Daniel Vetter <[email protected]>
[danvet: Explain why obj->map_and_fenceable is key and split out the
secure batch fix.]
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions