Re: [PATCH 2/3] drm/prime: set the dma_coherent flag for export

2022-10-27 Thread Rob Clark
On Thu, Oct 20, 2022 at 7:57 AM Christian König wrote: > > Am 20.10.22 um 16:43 schrieb Rob Clark: > > On Thu, Oct 20, 2022 at 5:13 AM Christian König > > wrote: > >> When a device driver is snooping the CPU cache during access we assume > >> that all importers need to be able to snoop the CPU

Re: [PATCH 2/3] drm/prime: set the dma_coherent flag for export

2022-10-20 Thread Christian König
Am 20.10.22 um 16:43 schrieb Rob Clark: On Thu, Oct 20, 2022 at 5:13 AM Christian König wrote: When a device driver is snooping the CPU cache during access we assume that all importers need to be able to snoop the CPU cache as well. Signed-off-by: Christian König ---

Re: [PATCH 2/3] drm/prime: set the dma_coherent flag for export

2022-10-20 Thread Rob Clark
On Thu, Oct 20, 2022 at 5:13 AM Christian König wrote: > > When a device driver is snooping the CPU cache during access we assume > that all importers need to be able to snoop the CPU cache as well. > > Signed-off-by: Christian König > --- > drivers/gpu/drm/drm_prime.c | 2 ++ > 1 file changed,

[PATCH 2/3] drm/prime: set the dma_coherent flag for export

2022-10-20 Thread Christian König
When a device driver is snooping the CPU cache during access we assume that all importers need to be able to snoop the CPU cache as well. Signed-off-by: Christian König --- drivers/gpu/drm/drm_prime.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/drm_prime.c