aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2021-05-07 10:59:48 +0100
committerMatthew Auld <matthew.auld@intel.com>2021-05-11 14:11:01 +0100
commit00d6dc3da1d76bdd735cd47d026b5a0d673559f7 (patch)
tree5ff348f69ea2e08a0cee65aa3003f69b2f27bda2 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parente49a8b2cc8522a836ec2ade3d8e4dc02de6f4d67 (diff)
drm/i915/stolen: shuffle around init_memory_region
We generally want to first call i915_gem_object_init_memory_region() before calling into get_pages(), since this sets up various bits of state which might be needed there. Currently for stolen this doesn't matter much, but it might in the future, and at the very least this makes things consistent with the other backends. Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210507095948.384230-1-matthew.auld@intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions