summaryrefslogtreecommitdiffstats
path: root/drivers/auxdisplay
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2017-11-17 14:16:10 +0100
committerLucas Stach <l.stach@pengutronix.de>2018-01-02 17:09:47 +0100
commitb2295c247c95b1a793eb700eef28a0f81ca1556e (patch)
treef9a80eb3c48cc6dc972222da590ecede267c508b /drivers/auxdisplay
parent54f09288f912058bdf23c4946204729ee288f444 (diff)
downloadop-kernel-dev-b2295c247c95b1a793eb700eef28a0f81ca1556e.zip
op-kernel-dev-b2295c247c95b1a793eb700eef28a0f81ca1556e.tar.gz
drm/etnaviv: get rid of userptr worker
All code paths which populate userptr BOs are fine with the get_pages function taking the mmap_sem lock. This allows to get rid of the pretty involved architecture with a worker being scheduled if the mmap_sem needs to be taken, but instead call GUP directly and allow it to take the lock if necessary. This simplifies the code a lot and removes the possibility of this function returning -EAGAIN, which complicates object population handling at the callers. A notable change in behavior is that we don't allow a process to populate objects with user pages from a foreign MM anymore. This would have been an invalid use before, as it breaks the assumptions made in the etnaviv kernel driver to enfore cache coherence. We now disallow this by rejecting the request to populate those objects. Well behaving userspace is unaffected by this change. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/auxdisplay')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud