Re: [PATCH 28/65] drm/ttm: WARN_ON non-empty lru when disabling a resource manager

2020-12-11 Thread Daniel Vetter
On Fri, Oct 23, 2020 at 04:56:20PM +0200, Daniel Vetter wrote: > On Fri, Oct 23, 2020 at 4:54 PM Christian König > wrote: > > > > Am 23.10.20 um 14:21 schrieb Daniel Vetter: > > > ttm_resource_manager->use_type is only used for runtime changes by > > > vmwgfx. I think ideally we'd push this functi

Re: [PATCH 28/65] drm/ttm: WARN_ON non-empty lru when disabling a resource manager

2020-10-23 Thread Daniel Vetter
On Fri, Oct 23, 2020 at 4:54 PM Christian König wrote: > > Am 23.10.20 um 14:21 schrieb Daniel Vetter: > > ttm_resource_manager->use_type is only used for runtime changes by > > vmwgfx. I think ideally we'd push this functionality into drivers - > > ttm itself does not provide any locking to guara

Re: [PATCH 28/65] drm/ttm: WARN_ON non-empty lru when disabling a resource manager

2020-10-23 Thread Christian König
Am 23.10.20 um 14:21 schrieb Daniel Vetter: ttm_resource_manager->use_type is only used for runtime changes by vmwgfx. I think ideally we'd push this functionality into drivers - ttm itself does not provide any locking to guarantee this is safe, so the only way this can work at runtime is if the

[PATCH 28/65] drm/ttm: WARN_ON non-empty lru when disabling a resource manager

2020-10-23 Thread Daniel Vetter
ttm_resource_manager->use_type is only used for runtime changes by vmwgfx. I think ideally we'd push this functionality into drivers - ttm itself does not provide any locking to guarantee this is safe, so the only way this can work at runtime is if the driver does provide additional guarantees. vwm