drm/i915: Use 128k alignment for untiled display surface on i965 (v2)
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 5 Jul 2010 17:01:46 +0000 (18:01 +0100)
committerEric Anholt <eric@anholt.net>
Mon, 2 Aug 2010 02:03:47 +0000 (19:03 -0700)
commit534843dabf79da40561148764916e1b2e6bbcebe
tree1871363e1e220e2645726d6aa5144be5511ef7f5
parente1a4474349997d722e4ae64e40a68feb25307109
drm/i915: Use 128k alignment for untiled display surface on i965 (v2)

The original i965, including the revised G35 and Q35, requires an
alignment of 128K for the display surface with linear memory, so
increase the requirement from 64k for these chipsets. For the later
chipsets in the i965 family, only a 4k alignment is required. (So
long as we do not start performing asynchronous flips.)

Note the impact of this should be slight as on i965 we should be using a
tiled frontbuffer for anything up to a 4096x4096 display.

v2: compilation fixes and note that the docs do not exclude the G35 from
the extra alignment.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c
This page took 0.025948 seconds and 5 git commands to generate.