[PATCH] nouveau: explicitly wait on the fence in nouveau_bo_move_m2mf

Computer Enthusiastic computer.enthusiastic at gmail.com
Fri Sep 30 21:09:59 UTC 2022


Hello,

Il giorno mar 20 set 2022 alle ore 13:59 Salvatore Bonaccorso
<carnil at debian.org> ha scritto:
[..]
> Computer Enthusiastic, can you verify the problem as well in a
> non-Debian patched upstream kernel directly from the 5.10.y series
> (latest 5.10.144) and verify the fix there?
>
> Regards,
> Salvatore

I've tested the vanilla kernel 5.10.145 (it was the latest one week
ago) without Debian kernel patches, but using the kernel config file
from the latest kernel for Debian Stable:
- without the Karol's patch: it always fails both suspend to ram and
hibernate to disk with the usual behavior (a very long time to suspend
or hibernate, then it fails on resume with a garbled screen)
- with the Karol's patch: it succeeds both suspend and hibernate and
it correctly resumes afterwards.

The kernel was tested using the following graphic adapter:
Graphics:  Device-1: NVIDIA G96CM [GeForce 9600M GT] driver: nouveau v: kernel
          Device-2: Suyin Acer HD Crystal Eye webcam type: USB driver:
uvcvideo
          Display: x11 server: X.Org 1.20.11 driver: loaded:
modesetting unloaded: fbdev,vesa
          resolution: 1280x800~60Hz
          OpenGL: renderer: NV96 v: 3.3 Mesa 20.3.5

Therefore, 5.10.y series of the kernel need to be patched to work
correctly at least with the aforementioned graphic card.

The script I used to compile the kernel are attached for further
reference and verification.

Hope that helps.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vanilla-kernel-build-5.10.145
Type: application/octet-stream
Size: 572 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20220930/4c9f8839/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vanilla-kernel-build-5.10.145-patched
Type: application/octet-stream
Size: 781 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20220930/4c9f8839/attachment-0001.obj>


More information about the dri-devel mailing list