]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: split PIN_GLOBAL out from PIN_MAPPABLE
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Feb 2014 13:01:12 +0000 (14:01 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Feb 2014 13:17:27 +0000 (14:17 +0100)
commite3314318c7dddf928ef8ec06691e19d8ba8f29e4
tree08baa0fc601c826493bd3e23149d79ba3edb9401
parent82a12dc89e3b1a1151c0012158ab44d6cda2dfdf
drm/i915: split PIN_GLOBAL out from PIN_MAPPABLE

With abitrary pin flags it makes sense to split out a "please bind
this into global gtt" from the "please allocate in the mappable
range".

Use this unconditionally in our global gtt pin helper since this is
what its callers want. Later patches will drop PIN_MAPPABLE where it's
not strictly needed.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c