diff options
| author | Daniel Vetter <[email protected]> | 2013-12-17 23:42:11 +0100 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2013-12-18 13:25:29 +0100 |
| commit | d8ccba866356e5b8989ff9081df66cf300b1f834 (patch) | |
| tree | dc38dd10c6d94b908f12ef2b66535886c88eae0a /tools/perf/scripts/python/bin | |
| parent | 820c1980353808717f78a0c4ca2c734f0247dc0c (diff) | |
drm/i915: grab a pages pin count for preallocate stolen
But only when we indeed set up a gtt mapping. We need this since the
vma also holds a pages_pin_count, on top of the unconditional
pages_pin_count we grab for all stolen objects (to avoid swap-out).
This should avoid a pages_pin_count underrun when cleaning up
framebuffers objects taken over from the BIOS.
Chris mentioned in his review that this bug even predates the vma
conversion.
Reported-by: Jesse Barnes <[email protected]>
Cc: Jesse Barnes <[email protected]>
Cc: Ben Widawsky <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions