[PATCH] exynos: Put a stop to the userptr heresy.

Inki Dae inki.dae at samsung.com
Tue Jul 8 09:20:51 PDT 2014


2014-07-08 22:37 GMT+09:00 Daniel Vetter <daniel at ffwll.ch>:
> On Wed, Jul 02, 2014 at 11:25:19AM -0400, Jerome Glisse wrote:
>> Anyway as this is upstream i guess you can keep it. This is just an horrible
>> API that allow to circumvant any limit set by memcg for page locking and all.
>> But anyway GPU driver never played in the same ballpark as other driver.
>
> I agree that exynos userptr as-is should be removed since as opposed to
> the i915 implementation it doesn't play nice with the core mm

Can you give me more details why you think so?

> and allos
> unpriviledged userspace to exceed all mlock limits.

we can make the userptr ioctl to have master permission for the meantime.

Thanks,
Inki Dae

>
> I've taken considerable amounts of internal heat for rejecting i915
> userptr until the mmu notifier stuff was implemented and so really want
> exynos to fix this up asap.
>
> Dave?
>
> Thanks, Daniel
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> +41 (0) 79 365 57 48 - http://blog.ffwll.ch
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list