]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Clarify obj->map_and_fenceable
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 27 Feb 2015 13:58:43 +0000 (13:58 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 27 Feb 2015 18:01:48 +0000 (19:01 +0100)
commitadb70043106e807bf01c6b4af2614c651f6a9eb3
treecbfdd630bb404d72bd712321be03bac98ded4ff1
parent810e7ce8db33c9e18af02b9d7ec0e861df15b086
drm/i915: Clarify obj->map_and_fenceable

For an object right on the boundary of mappable space, as the fenceable
size is stricly greater than the actual size, its fence region may extend
out of mappable space.

Note that only pnv/g33 has fence_size > obj.size and an unmappable
range in the gtt, and there alignment constraints prevent bad things
from happening.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
[danvet: Clarify why this shouldn't change anything as per the
discussion on intel-gfx.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c