]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/i915: fall back to shmem pwrite when the buffer is not accessible
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 25 Mar 2012 17:47:38 +0000 (19:47 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Mar 2012 11:29:08 +0000 (13:29 +0200)
commitffc62976d215870e3082d9778660167c5fa3946d
tree1d869f03e99475124733303b506ce53fbd01b25f
parent586428852a4fe64d77dc3e34c446fba33a2ca971
drm/i915: fall back to shmem pwrite when the buffer is not accessible

It's too expensive to move it around just for that pwrite, especially
when we're trashing on the mappable gtt part like crazy.

Tested-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c