commit | 37800ca8037adeeb1ccd23dc15f6452b395e3101 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Jun 01 10:35:49 2018 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Fri Jun 01 14:53:21 2018 +0100 |
tree | edf36ff3ba0087cf7576a277ac77197df277703f | |
parent | e312b689a92d82d2b67f8b58b307fe5b79019d60 [diff] |
drm/i915/gtt: Avoid calling non-existent allocate_va_range On hsw and older, we do not need to allocate the ppgtt on the fly and so ppgtt->allocate_va_range() is NULL. Fixup ppgtt_bind_vma not to call it, in that case! v2: PIN_UPDATE still exists. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20180601093554.13083-1-chris@chris-wilson.co.uk Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180601093554.13083-2-chris@chris-wilson.co.uk