[PATCH v6 6/6] drm/etnaviv: allow usperspace create cached coherent bo

2023-05-30 Thread Sui Jingfeng
cached system RAM is coherent on loongson CPUs, and the GPU and DC allways snoop the CPU's cache. write-combine caching property is not suitiable for us. Signed-off-by: Sui Jingfeng --- drivers/gpu/drm/etnaviv/etnaviv_drv.c | 2 +- drivers/gpu/drm/etnaviv/etnaviv_gem.c | 22

Re: [PATCH v6 6/6] drm/etnaviv: allow usperspace create cached coherent bo

2023-05-30 Thread Bjorn Helgaas
s/usperspace/userspace/ (in subject) On Wed, May 31, 2023 at 12:06:43AM +0800, Sui Jingfeng wrote: > cached system RAM is coherent on loongson CPUs, and the GPU and DC allways > snoop the CPU's cache. write-combine caching property is not suitiable for > us. s/allways/always/ s/suitiable/suitable

Re: [PATCH v6 6/6] drm/etnaviv: allow usperspace create cached coherent bo

2023-05-31 Thread Sui Jingfeng
Hi, Thanks a lot, will be fixed at next version. On 2023/5/31 02:58, Bjorn Helgaas wrote: s/usperspace/userspace/ (in subject) On Wed, May 31, 2023 at 12:06:43AM +0800, Sui Jingfeng wrote: cached system RAM is coherent on loongson CPUs, and the GPU and DC allways snoop the CPU's cache. writ

Re: [PATCH v6 6/6] drm/etnaviv: allow usperspace create cached coherent bo

2023-05-31 Thread Lucas Stach
Hi Sui Jingfeng, Am Mittwoch, dem 31.05.2023 um 00:06 +0800 schrieb Sui Jingfeng: > cached system RAM is coherent on loongson CPUs, and the GPU and DC allways > snoop the CPU's cache. write-combine caching property is not suitiable for > us. > As previously mentioned in the Mesa MR, I don't think

Re: [PATCH v6 6/6] drm/etnaviv: allow usperspace create cached coherent bo

2023-05-31 Thread Sui Jingfeng
Hi, On 2023/6/1 00:33, Lucas Stach wrote: Hi Sui Jingfeng, Am Mittwoch, dem 31.05.2023 um 00:06 +0800 schrieb Sui Jingfeng: cached system RAM is coherent on loongson CPUs, and the GPU and DC allways snoop the CPU's cache. write-combine caching property is not suitiable for us. As previously

Re: [PATCH v6 6/6] drm/etnaviv: allow usperspace create cached coherent bo

2023-05-31 Thread Lucas Stach
Am Donnerstag, dem 01.06.2023 um 01:29 +0800 schrieb Sui Jingfeng: > Hi, > > On 2023/6/1 00:33, Lucas Stach wrote: > > Hi Sui Jingfeng, > > > > Am Mittwoch, dem 31.05.2023 um 00:06 +0800 schrieb Sui Jingfeng: > > > cached system RAM is coherent on loongson CPUs, and the GPU and DC allways > > > s

Re: [PATCH v6 6/6] drm/etnaviv: allow usperspace create cached coherent bo

2023-06-01 Thread Sui Jingfeng
Hi, On 2023/6/1 01:53, Lucas Stach wrote: Am Donnerstag, dem 01.06.2023 um 01:29 +0800 schrieb Sui Jingfeng: Hi, On 2023/6/1 00:33, Lucas Stach wrote: Hi Sui Jingfeng, Am Mittwoch, dem 31.05.2023 um 00:06 +0800 schrieb Sui Jingfeng: cached system RAM is coherent on loongson CPUs, and the GP