diff options
| author | Rob Herring <[email protected]> | 2019-07-19 14:28:51 +0000 |
|---|---|---|
| committer | Rob Herring <[email protected]> | 2019-08-12 20:17:09 +0000 |
| commit | 930a402485b205214231f1141632afdca8ff89cb (patch) | |
| tree | 32a6f595dd0fa387f1acf932d129ff59804c6869 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
| parent | drm: gm12u320: Add -ENODEV to list of errors to ignore (diff) | |
| download | kernel-930a402485b205214231f1141632afdca8ff89cb.tar.gz kernel-930a402485b205214231f1141632afdca8ff89cb.zip | |
drm/gem: Allow sparsely populated page arrays in drm_gem_put_pages
Panfrost has a need for pages allocated on demand via GPU page faults.
When releasing the pages, the only thing preventing using
drm_gem_put_pages() is needing to skip over unpopulated pages, so allow
for skipping over NULL struct page pointers.
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]>
Cc: [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
