[PATCH] drm/ttm: prevent grabbing page references v2

2022-09-27 Thread Christian König
TTM owns the pages it uses for backing buffer objects with system memory. Because of this it is absolutely illegal to mess around with the reference count of those pages. So make sure that nobody ever tries to grab an extra reference on pages allocated through the page pool. v2: handle DMA pages

Re: [PATCH] drm/ttm: prevent grabbing page references

2022-08-18 Thread Christian König
Am 18.08.22 um 00:20 schrieb Dmitry Osipenko: On 8/15/22 16:08, Christian König wrote: TTM owns the pages it uses for backing buffer objects with system memory. Because of this it is absolutely illegal to mess around with the reference count of those pages. So make sure that nobody ever tries

Re: [PATCH] drm/ttm: prevent grabbing page references

2022-08-17 Thread Dmitry Osipenko
On 8/15/22 16:08, Christian König wrote: > TTM owns the pages it uses for backing buffer objects with system > memory. Because of this it is absolutely illegal to mess around with > the reference count of those pages. > > So make sure that nobody ever tries to grab an extra reference on > pages

[PATCH] drm/ttm: prevent grabbing page references

2022-08-15 Thread Christian König
TTM owns the pages it uses for backing buffer objects with system memory. Because of this it is absolutely illegal to mess around with the reference count of those pages. So make sure that nobody ever tries to grab an extra reference on pages allocated through the page pool. Signed-off-by: