'To prevent false VT-d type 6 error, the scanouts must be 256KiB aligned, and require an extra 128 pages of padding afterward'
s/128 pages/128 PTEs/ The pages are not accessed, only the PTEs, so we just need to enlarge the scanout space.
Created attachment 75174 [details] [review] Align scanouts to 256KiB
Thinking about the padding, I think we don't need it whilst we always populate the unused PTE with the shadow page.
commit e4054a376b6c357c68215a4e2db2636a8a05e7ba Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Tue Mar 5 14:52:39 2013 +0000 drm/i915: Apply alignment restrictions on scanout surfaces for VT-d
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.