From: Ben Widawsky Date: Fri, 6 Dec 2013 22:11:16 +0000 (-0800) Subject: drm/i915: Write PDEs at init instead of enable X-Git-Tag: v3.15-rc1~51^2~62^2~80^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f273d48aa98cd193b19db9bb4c16bfb81c39052;p=pandora-kernel.git drm/i915: Write PDEs at init instead of enable We won't be calling enable() for all PPGTTs. We do need to write PDEs for all PPGTTs however. By moving the writing to init (which is called for all PPGTTs) we should accomplish this. ADD NOTE ABOUT PDE restore TODO: Eventually, we should allocate the page tables on demand. v2: Rebased on BDW. Only do PDEs for pre-gen8 Signed-off-by: Ben Widawsky Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed