diff options
| author | Rob Herring <[email protected]> | 2019-07-19 14:30:12 +0000 |
|---|---|---|
| committer | Rob Herring <[email protected]> | 2019-08-12 20:18:42 +0000 |
| commit | 3bf5189d93d04519e93e16bf3aa60589e136c666 (patch) | |
| tree | 6289ed23957d026c1d5c43f2b9053c329c13f05c /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
| parent | drm/gem: Allow sparsely populated page arrays in drm_gem_put_pages (diff) | |
| download | kernel-3bf5189d93d04519e93e16bf3aa60589e136c666.tar.gz kernel-3bf5189d93d04519e93e16bf3aa60589e136c666.zip | |
drm/shmem: Put pages independent of a SG table being set
If a driver does its own management of pages, the shmem helper object's
pages array could be allocated when a SG table is not. There's not
really any good reason to tie putting pages with having a SG table when
freeing the object, so just put pages if the pages array is populated.
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Sean Paul <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Reviewed-by: Steven Price <[email protected]>
Acked-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions
