]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: support 64K pages for the 48b PPGTT
authorMatthew Auld <matthew.auld@intel.com>
Fri, 6 Oct 2017 22:18:26 +0000 (23:18 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 7 Oct 2017 09:11:57 +0000 (10:11 +0100)
commit3bd23af7757db6f109d473ae533c7f3640b527bf
tree38c83d93d4bb3790f945d5d648c88f3e18735db6
parent24ebb2b62bff351f09bf765ec2598989ce74189a
drm/i915: support 64K pages for the 48b PPGTT

Support inserting 64K pages into the 48b PPGTT.

v2: check for 64K scratch

v3: we should only have to re-adjust maybe_64K at every sg interval

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171006145041.21673-15-matthew.auld@intel.com
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171006221833.32439-14-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_gtt.h