]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gen8: Initialize page tables
authorMichel Thierry <michel.thierry@intel.com>
Wed, 8 Apr 2015 11:13:25 +0000 (12:13 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Apr 2015 06:56:08 +0000 (08:56 +0200)
commit9263bf6415ad6475fee34b9bc0073d190ed72a1d
tree045bd1ba6ffc1c996706333403f636a1142a98b2
parent0b1cd3cc68bde644e76ac15611cc4e1f6aca3de3
drm/i915/gen8: Initialize page tables

Similar to gen6, while setting up a page table, make all entries of the
pt point to the scratch page before mapping; this is to be safe in case
of out of bound access or proactive prefetch.

Systems without LLC require an explicit flush.

v2: Expanded commit text and fixed indentation (Mika)

Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c