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)
commit05e8a5f51eb5863d8c316c68091500511770bff7
treed24038ac96bf1b705ec4574fa5ced9e8ae52d2a2
parent50129bca6671e329db7671cb0bfe749d341c9acb
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