summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_pci.c
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2019-10-18 10:07:51 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-10-18 12:41:05 +0100
commit72405c3d7850c85dccbe4629720004ae933c2add (patch)
tree69ad9500a7a86cb677cec68a85d0c081a411c075 /drivers/gpu/drm/i915/i915_pci.c
parentda1184cd41d4c6b316a937ac1da5825807e8f6fb (diff)
downloadlinux-stable-72405c3d7850c85dccbe4629720004ae933c2add.tar.gz
linux-stable-72405c3d7850c85dccbe4629720004ae933c2add.tar.bz2
linux-stable-72405c3d7850c85dccbe4629720004ae933c2add.zip
drm/i915: treat stolen as a region
Convert stolen memory over to a region object. Still leaves open the question with what to do with pre-allocated objects... Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Abdiel Janulgue <abdiel.janulgue@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20191018090751.28295-3-matthew.auld@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_pci.c')
-rw-r--r--drivers/gpu/drm/i915/i915_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
index e55ab2724996..f9a3bfe68689 100644
--- a/drivers/gpu/drm/i915/i915_pci.c
+++ b/drivers/gpu/drm/i915/i915_pci.c
@@ -152,7 +152,7 @@
.page_sizes = I915_GTT_PAGE_SIZE_4K
#define GEN_DEFAULT_REGIONS \
- .memory_regions = REGION_SMEM
+ .memory_regions = REGION_SMEM | REGION_STOLEN
#define I830_FEATURES \
GEN(2), \