Conversation
This commit changes the bind procedure by avoiding the call to pm_runtime_resume_and_get. Since commit #71be60f, the reset of the GPU caused incorrect rendering and crashes. With this patch the GPU reset procedure properly resets the GPU, the rendering resumes properly and no crash occurs. Signed-off-by: Luca Carlon <carlon.luca@gmail.com>
|
The rpi-6.1.y branch is now the legacy branch and isn't taking new downstream features/fixes, only fixes from upstream. vc4_v3d.c is also almost unchanged from mainline, and those minor diffs should be merged upstream imminently. Fixes should be submitted to dri-devel for review. The patch also feels dubious as you now have a call to Minor comment that 71be60f is a hash from the rpi-5.15.y branch. It was merged into mainline as torvalds/linux@266cff3 in the 6.1 merge window. |
|
Just reenforcing @6by9 comment, I can't see how this patch could fix any GPU reset issue. By not using About moving Check the comment on It is hard for me to see what this patch is trying to achieve. I believe it might fix your problem because the device's usage counter was compromised and it wasn't incremented. |
This commit changes the bind procedure by avoiding the call to pm_runtime_resume_and_get. Since commit #71be60f, the reset of the GPU caused incorrect rendering and crashes. With this patch the GPU reset procedure properly resets the GPU, the rendering resumes properly and no crash occurs.