summaryrefslogtreecommitdiffstats
path: root/Documentation/cpu-freq
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-12-03 21:03:14 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-12-07 01:16:15 +0100
commite9b73c67390a5d4faec1d22cbdf24cd6fcca53f6 (patch)
tree5eef72c851d44d956d20e81678123146a2d71542 /Documentation/cpu-freq
parente69d0bc1c67520c302e070ac078975ea9c786de8 (diff)
downloadtalos-obmc-linux-e9b73c67390a5d4faec1d22cbdf24cd6fcca53f6.tar.gz
talos-obmc-linux-e9b73c67390a5d4faec1d22cbdf24cd6fcca53f6.zip
drm/i915: Reduce memory pressure during shrinker by preallocating swizzle pages
On a machine with bit17 swizzling, we need to store the bit17 of the physical page address in put-pages. This requires a memory allocation, on average less than a page, which may be difficult to satisfy is the request to put-pages is on behalf of the shrinker. We could allow that allocation to pull from the reserved memory pools, but it seems much safer to preallocate the array for tiled objects on affected machines. v2: Export i915_gem_object_needs_bit17_swizzle() for reuse. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'Documentation/cpu-freq')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud