Re: [PATCH v10 07/11] drm/etnaviv: Add support for the dma coherent device

From: Sui Jingfeng
Date: Sat Jun 24 2023 - 12:11:45 EST


Hi,

On 2023/6/22 01:45, Lucas Stach wrote:
Again,

this is user-space things!

this is user-space things!

this is user-space things!

I have explained several times.

made the decision for the user-space program is wrong.

This mode of communication isn't helpful. Please stop it.

As I tried to explain to you multiple times: if userspace can break
coherency by selecting the wrong mapping type then this is something
the kernel should prevent.

This is still a user-space things.

While my point is that we want to prevent it at userspace.

Please don't forget that sometime a user or a programmer want a wrong thing.
Either because of the need of debugging itself or due to the curiosity of

what it would happen if we doing something wrong.

Sometimes, the wrong rendering may more interesting.


The most important thing is that my patch is trying to increase the flexibility,

and to increase the possibility. While you idea is to doing the reverse.


--
Jingfeng