CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/06/22 06:27:53

Modified files:
        sys/dev/pci/drm: drm_linux.c 
        sys/dev/pci/drm/include/generated: autoconf.h 
        sys/dev/pci/drm/include/linux: dma-mapping.h scatterlist.h 

Log message:
add dma_length member to struct scatterlist

inteldrm code assumes that sg_dma_len() does not return the length
member of the struct as it increments both.

Problem reported by Ryan Fahy in FreeBSD drm-kmod PR 468.

Avoids a 'Data modified on freelist' panic on boot when using discrete
Intel cards (DG2).  DG2 has other issues, so remains disabled for now.

Reply via email to