]> git.karo-electronics.de Git - linux-beck.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)
commit5a8e9943528dd84315db2e9dfd7330bcbb872414
tree045bd1ba6ffc1c996706333403f636a1142a98b2
parent9c57f07001f2c093e0455137465242b0bbb6fb66
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