On 2023/04/24 15:00, Stuart Henderson wrote: > > Looking over the local changes to i915_scatterlist.h the segment size > > could be larger, I'm not sure if that would help. > > I will try that and report back after lunch.
Doesn't help. > > > Index: dev/pci/drm/i915/i915_scatterlist.h > > =================================================================== > > RCS file: /cvs/src/sys/dev/pci/drm/i915/i915_scatterlist.h,v > > retrieving revision 1.3 > > diff -u -p -r1.3 i915_scatterlist.h > > --- dev/pci/drm/i915/i915_scatterlist.h 1 Jan 2023 01:34:54 -0000 > > 1.3 > > +++ dev/pci/drm/i915/i915_scatterlist.h 24 Apr 2023 13:15:46 -0000 > > @@ -153,7 +153,7 @@ static inline unsigned int i915_sg_segme > > #else > > static inline unsigned int i915_sg_segment_size(struct device *dev) > > { > > - return PAGE_SIZE; > > + return round_down(UINT_MAX, PAGE_SIZE); > > } > > #endif > > > > > > > dpt_bind_vma(ffff800001a1cc00,0,fffffd83b9afd178,0,400) at > > > dpt_bind_vma+0x64 > > > i915_vma_bind(ffff800001ce4ec0,0,400,0,fffffd83b9afd178) at > > > i915_vma_bind+0x319 > > > i915_vma_pin_ww(ffff800001ce4ec0,ffff800033b78db0,0,200000,400) at > > > i915_vma_pin_ww+0x454 > > > intel_plane_pin_fb(ffff800001cc9000) at intel_plane_pin_fb+0x25c > > > intel_prepare_plane_fb(ffff8000014c7400,ffff800001cc9000) at > > > intel_prepare_plane_fb+0x127 > > > drm_atomic_helper_prepare_planes(ffff80000044c078,ffff800001cda000) at > > > drm_atomic_helper_prepare_planes+0x5b > > > intel_atomic_commit(ffff80000044c078,ffff800001cda000,1) at > > > intel_atomic_commit+0xda > > > drm_atomic_helper_page_flip(ffff8000014c2800,ffff800001e41200,ffff800001d55300,1,ffff800033b79048) > > > at drm_atomic_helper_page_flip+0x77 > > > drm_mode_page_flip_ioctl(ffff80000044c078,ffff800033b793e0,ffff80000195bc00) > > > at drm_mode_page_flip_ioctl+0x466 > > > drm_do_ioctl(ffff80000044c078,100,c01864b0,ffff800033b793e0) at > > > drm_do_ioctl+0x29e > > > drmioctl(15700,c01864b0,ffff800033b793e0,3,ffff800033bba5c8) at > > > drmioctl+0xdc > > > VOP_IOCTL(fffffd845bb870f0,c01864b0,ffff800033b793e0,3,fffffd845efad750,ffff800033bba5c8) > > > at VOP_IOCTL+0x60 > > > vn_ioctl(fffffd845bd084c0,c01864b0,ffff800033b793e0,ffff800033bba5c8) at > > > vn_ioctl+0x79 > > >