aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorJonathan Cavitt <[email protected]>2023-08-07 12:19:55 +0000
committerAndi Shyti <[email protected]>2023-08-10 12:13:52 +0000
commit8a612b2d2e53dc0b869344e5558271b0d7fd4a23 (patch)
tree043a4b04cbb3483c86fc20f952465e369aa8d178 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentMerge drm/drm-next into drm-intel-gt-next (diff)
downloadkernel-8a612b2d2e53dc0b869344e5558271b0d7fd4a23.tar.gz
kernel-8a612b2d2e53dc0b869344e5558271b0d7fd4a23.zip
drm/i915/gt: Simplify shmem_create_from_object map_type selection
The object pin created for shmem_create_from_object is just a single use mapping with the sole purpose of reading the contents of the whole object in bulk. And the whole source object is also even a throw-away. Ergo, the additional logic required by i915_coherent_map_type can be safely dropped and simplified. Suggested-by: Tvrtko Ursulin <[email protected]> Signed-off-by: Jonathan Cavitt <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Signed-off-by: Andi Shyti <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions