]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Create dumb buffer from LMEM
authorRamalingam C <ramalingam.c@intel.com>
Sat, 4 Jan 2020 19:10:43 +0000 (19:10 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 5 Jan 2020 01:09:18 +0000 (01:09 +0000)
commite639f115406af35d62dce8fc5cd2d2d361f87506
treed24038ac96bf1b705ec4574fa5ced9e8ae52d2a2
parentf7e612273f6b367d8ef3677710ad88954dff06ac
drm/i915: Create dumb buffer from LMEM

When LMEM is supported, dumb buffer preferred to be created from LMEM.

v2:
  Parameters are reshuffled. [Chris]
v3:
  s/region_id/mem_type
v4:
  use the i915_gem_object_create_region [chris]

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200104191043.2207314-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c