02.08.2023 07:11, Jonathan Gray пишет:
> The fix is to not reset the end of list marker when
> assigning a page.

This alone without the xorg.conf snippet is stable, no hangs or glitches
in Xfce or 0.A.D., which so far instanstly triggered corruptions.

Thanks a lot!
FWIW, OK kn

> 
> Index: sys/dev/pci/drm/include/linux/scatterlist.h
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/drm/include/linux/scatterlist.h,v
> retrieving revision 1.5
> diff -u -p -r1.5 scatterlist.h
> --- sys/dev/pci/drm/include/linux/scatterlist.h       1 Jan 2023 01:34:58 
> -0000       1.5
> +++ sys/dev/pci/drm/include/linux/scatterlist.h       2 Aug 2023 04:02:02 
> -0000
> @@ -119,7 +119,6 @@ sg_set_page(struct scatterlist *sgl, str
>       sgl->dma_address = page ? VM_PAGE_TO_PHYS(page) : 0;
>       sgl->offset = offset;
>       sgl->length = length;
> -     sgl->end = false;
>  }
>  
>  #define sg_dma_address(sg)   ((sg)->dma_address)
> 

Reply via email to