aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2017-06-06 09:17:08 +0200
committerLucas Stach <l.stach@pengutronix.de>2017-07-03 10:54:54 +0200
commit8cc47b3ea0822175deb8bf436e4c59a7f128ac30 (patch)
tree195d04cf7836d806739992ea69ea2b4e5fc6948b /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
parentf91ac470a8b1b358e9c2c7dc17da2642d125c3ac (diff)
drm/etnaviv: populate GEM objects on cpu_prep
CPU prep is the point where we can reasonably return an error to userspace when something goes wrong while populating the object. If we leave the object unpopulated at this point, the allocation will happen in the fault handler when userspace accesses the object through the mmap space, where we don't have any other option than to OOM the system. Signed-off-by: Lucas Stach <dev@lynxeye.de>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions