]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't set PIN_MAPPABLE for legacy ringbuffers
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Feb 2014 13:01:14 +0000 (14:01 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Feb 2014 13:17:42 +0000 (14:17 +0100)
commitd75ca18fd0badbb1e03ee4eeea220b801488f710
tree88e363455c5fa9f8d79ca2ecdb6597fe6a6706ee
parent599e1365da13e25654993e84029dfee520a40d1c
drm/i915: Don't set PIN_MAPPABLE for legacy ringbuffers

Tighter code since legacy gem has only mappable anyway.

Split out from Chris vma-bind rework.

Note that this is only possible due to the split-up of the mappable
pin flag into PIN_GLOBAL and PIN_MAPPABLE.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ben Widawsky <benjamin.widawsky@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c