Re: [PATCH 1/3] drm/lima: add usage counting method to ctx_mgr

2023-04-03 Thread Ville Syrjälä
On Mon, Mar 13, 2023 at 12:30:50AM +0100, Erico Nunes wrote: > lima maintains a context manager per drm_file, similar to amdgpu. > In order to account for the complete usage per drm_file, all of the > associated contexts need to be considered. > Previously released contexts also need to be accounte

[PATCH 1/3] drm/lima: add usage counting method to ctx_mgr

2023-03-12 Thread Erico Nunes
lima maintains a context manager per drm_file, similar to amdgpu. In order to account for the complete usage per drm_file, all of the associated contexts need to be considered. Previously released contexts also need to be accounted for but their drm_sched_entity info is gone once they get released,