commit | e8cb909ac3abbcac5184825638903a2b9a225725 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Aug 18 17:16:53 2016 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Thu Aug 18 22:36:47 2016 +0100 |
tree | a778d7010e0ff371c691ca37dd97c99735f84482 | |
parent | d50415cc6c8395602052b39a1a39290fba3d313e [diff] |
drm/i915: Fallback to single page GTT mmappings for relocations If we cannot pin the entire object into the mappable region of the GTT, try to pin a single page instead. This is much more likely to succeed, and prevents us falling back to the clflush slow path. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20160818161718.27187-14-chris@chris-wilson.co.uk