[PATCH 0/3] Various prime/dumb buffer fixes

Benjamin Coddington bcodding at redhat.com
Thu Aug 22 14:32:36 UTC 2024


On 16 Aug 2024, at 14:32, Zack Rusin wrote:

> This is the same series I've sent out earlier but with one extra patch,
> that fixes the dumb buffer coherency on low mem systems.
>
> The second patch has also been updated to not use math functions.
>
> Zack Rusin (3):
>   drm/vmwgfx: Prevent unmapping active read buffers
>   drm/vmwgfx: Fix prime with external buffers
>   drm/vmwgfx: Disable coherent dumb buffers without 3d
>
>  drivers/gpu/drm/vmwgfx/vmwgfx_blit.c    | 114 +++++++++++++++++++++++-
>  drivers/gpu/drm/vmwgfx/vmwgfx_bo.c      |  13 ++-
>  drivers/gpu/drm/vmwgfx/vmwgfx_bo.h      |   3 +
>  drivers/gpu/drm/vmwgfx/vmwgfx_drv.h     |   4 +-
>  drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c    |  12 +--
>  drivers/gpu/drm/vmwgfx/vmwgfx_surface.c |   6 +-
>  6 files changed, 136 insertions(+), 16 deletions(-)
>
> -- 
> 2.43.0

I applied these three to v6.11-rc4 to fix the regression:
https://lore.kernel.org/all/0d0330f3-2ac0-4cd5-8075-7f1cbaf72a8e@heusel.eu/

Thanks for the fix! Seems to make my setup work again, so FWIW you can use my:
Tested-by: Benjamin Coddington <bcodding at redhat.com>

Ben



More information about the dri-devel mailing list