]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix tiling on IGDNG
authorZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 2 Sep 2009 02:57:52 +0000 (10:57 +0800)
committerEric Anholt <eric@anholt.net>
Fri, 4 Sep 2009 20:05:44 +0000 (13:05 -0700)
commit70882d3d353faf23d195be30af1ecbb0a2a0e90f
treee74d910f9937d61c3128526ad10a8f61ba2649fa
parent942603949fe751fe7a7fe714bfccd77921a4e0c0
drm/i915: fix tiling on IGDNG

It seems that on IGDNG the same swizzling setup always applys.
And front buffer tiling needs to set address swizzle in display
arb control too.

Fix plane tricle feed setting in v1 which should be disable bit,
and always setup address swizzle to let hardware care for buffer
tiling in all cases.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_gem_tiling.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c