drm/i915: Fix page table entries for Bay Trail.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 22 Apr 2013 07:53:50 +0000 (00:53 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 22 Apr 2013 09:44:11 +0000 (11:44 +0200)
commit93c34e70ebf464a9ee142d93b681c5df094ec654
treef29235ca65826eeee15f69742877f0c0d118913f
parent2d04befb949744998284d8551ae7cd47059b8a53
drm/i915: Fix page table entries for Bay Trail.

On Bay Trail, bit 1 means "writeable by the GPU."  Failing to set that
means basically anything using the GPU will cause hangs.

v2: Drop accidental inline keyword on byt_pte_encode.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Tested-by: Daniel Leung <daniel.leung@linux.intel.com> [v1]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c