mripard has joined #powervr
fultilt has quit [Quit: Leaving]
fultilt has joined #powervr
<
MoeIcenowy>
I see some padding added in pvr_GetBufferMemoryRequirements2(), which isn't compatible the current Mesa WSI common code
<
MoeIcenowy>
(I am now hacking on TH1520 SoC, on which I can have DRI3 by using Xorg + etnaviv 2D acceleration, so I am trying out more WSI)
<
MoeIcenowy>
which address space is the padding trying to prevent read-across-page in? device address space or cpu address space?
<
MoeIcenowy>
(I think for compatibility of common WSI code the "map one more page" practice might be needed
<
MoeIcenowy>
(the reason of incompatibility is common WSI code is asserting the required buffer size being not larger than the size it calculated
<
MoeIcenowy>
P.S. current driver acquires num_phantoms from kernel, but the device info has num_clusters too
<
MoeIcenowy>
I think this is duplicated?
<
MoeIcenowy>
and for mapping an extra page, if it's to be prevent issues of device address space, should the preventing code be in kernel driver?
<
MoeIcenowy>
(this will sounds a burden to let the userspace to know whether such a workaround exists
lsntvt_ has quit [Ping timeout: 480 seconds]