[Bug 111236] VA-API radeonsi SIGSEGV __memmove_avx_unaligned

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 8 on bug 111236 from
Created attachment 145171 [details] [review]
si_video_buffer_create fixups

I've traced this to the si_video_buffer_create function, which makes multiple
pipe_resources use the same buffer, but doesn't update the bo_size or make sure
si_can_invalidate_texture returns false for those resources. So
si_texture_transfer_map may allocate a new buffer of the original bo_size,
which is smaller than the combined size of the resources => its CPU mapping
doesn't always cover the calculated address.

This quick'n'dirty patch prevents the crash, but now totem just hangs for me.


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux