Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8cc47b3e authored by Lucas Stach's avatar Lucas Stach Committed by Lucas Stach
Browse files

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: default avatarLucas Stach <dev@lynxeye.de>
parent f91ac470
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment