Re: [PATCH] vmwgfx: Create debugfs ttm_resource_manager entry only if needed

2024-03-27 Thread Jocelyn Falempe
I just pushed it to drm-misc-fixes. Thanks for your reviews, -- Jocelyn On 14/03/2024 09:14, Jocelyn Falempe wrote: On 13/03/2024 18:57, Zack Rusin wrote: On Tue, Mar 12, 2024 at 5:36 AM Jocelyn Falempe wrote: [...] Thanks! That looks great. I can push it through drm-misc-fixes. Than

Re: [PATCH] vmwgfx: Create debugfs ttm_resource_manager entry only if needed

2024-03-14 Thread Jocelyn Falempe
On 13/03/2024 18:57, Zack Rusin wrote: On Tue, Mar 12, 2024 at 5:36 AM Jocelyn Falempe wrote: [...] Thanks! That looks great. I can push it through drm-misc-fixes. Thanks, I think I only forget the "drm/" in the commit title, but yes you can push it with this small correction. Revi

Re: [PATCH] vmwgfx: Create debugfs ttm_resource_manager entry only if needed

2024-03-13 Thread Zack Rusin
On Tue, Mar 12, 2024 at 5:36 AM Jocelyn Falempe wrote: > > The driver creates /sys/kernel/debug/dri/0/mob_ttm even when the > corresponding ttm_resource_manager is not allocated. > This leads to a crash when trying to read from this file. > > Add a check to create mob_ttm, system_mob_ttm, and gmr_

[PATCH] vmwgfx: Create debugfs ttm_resource_manager entry only if needed

2024-03-12 Thread Jocelyn Falempe
The driver creates /sys/kernel/debug/dri/0/mob_ttm even when the corresponding ttm_resource_manager is not allocated. This leads to a crash when trying to read from this file. Add a check to create mob_ttm, system_mob_ttm, and gmr_ttm debug file only when the corresponding ttm_resource_manager is