RE: [PATCH v4 5/6] drm/gem-shmem: Track folio accessed/dirty status in mmap

Biju Das
2026-03-13T08:47:38Z

> -----Original Message-----
> From: Thomas Zimmermann <tzimmermann@suse.de>
> Sent: 13 March 2026 08:34
> Subject: Re: [PATCH v4 5/6] drm/gem-shmem: Track folio accessed/dirty status in mmap
>
> Hi
>
> Am 12.03.26 um 18:46 schrieb Biju Das:
> > Hi Tommaso,
> >
> >> -----Original Message-----
> >> From: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
> >> Sent: 12 March 2026 17:37
> >> Subject: Re: [PATCH v4 5/6] drm/gem-shmem: Track folio accessed/dirty
> >> status in mmap
> >>
> >> Hi Thomas,
> >> Thanks for your patch.
> >>
> >> I'm working on DSI support for RZ/G3E from this morning rebasing on
> >> top of next-20260311 I'm seeing that weston hang on my side:
> >>
> >> Reverting this patch fix the issue.
> >> (git revert 28e3918179aa)
>
> Just a guess, but maybe vm_file is NULL. The attached patch should handle this. Could either of you
> please test?

No Luck. I will try to enable some print in panfrost driver.

oot@smarc-rzv2l:~# systemctl status weston
* weston.service - Weston, a Wayland compositor, as a system service
Loaded: loaded (/usr/lib/systemd/system/weston.service; enabled; preset: enabled)
Active: active (running) since Sat 2000-01-01 00:00:06 UTC; 56s ago
TriggeredBy: * weston.socket
Docs: man:weston(1)
man:weston.ini(5)
http://wayland.freedesktop.org/
Main PID: 238 (weston)
Tasks: 0 (limit: 1796)
Memory: 2.4M (peak: 2.9M)
CPU: 140ms
CGroup: /system.slice/weston.service
> 238 /usr/bin/weston --modules=systemd-notify.so

Jan 01 00:00:01 smarc-rzv2l systemd[1]: Starting Weston, a Wayland compositor, as a system service...
Jan 01 00:00:06 smarc-rzv2l systemd[1]: Started Weston, a Wayland compositor, as a system service.
root@smarc-rzv2l:~#