drm/i915/stolen: actually mark as contiguous
authorMatthew Auld <matthew.auld@intel.com>
Wed, 21 Apr 2021 10:46:58 +0000 (11:46 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Thu, 22 Apr 2021 07:50:19 +0000 (08:50 +0100)
commitae7f0dc105c4e5248e6e2e2299e52d9a289e1215
tree6705f3d69a391520399a1cb0040117a047445e2a
parentf9a7b01e95d5e6c3f79f0efbbbbb2bbc52a8f3ce
drm/i915/stolen: actually mark as contiguous

Stolen memory is always allocated as physically contiguous pages, so
mark the object flags as such. It looks like the flags were previously
just ignored so this had no effect. In the future we might to add the
proper plumbing for passing the flags all over the way down from the
caller, but for now we don't have a use for that.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210421104658.304142-4-matthew.auld@intel.com
drivers/gpu/drm/i915/gem/i915_gem_stolen.c