Re: drm/panfrost: question about cache coherency handling

2025-04-25 Thread Steven Price
On 24/04/2025 07:08, Gregory Greenman wrote: > Hello, > > I'm new to DRM developmentand ran into something in the Panfrost (but > also Panthor) driver I'm curious about. > > In drivers/gpu/drm/panfrost/panfrost_gem.c, there's this line: obj- >>base.map_wc = !pfdev->coherent; > > From what I can

drm/panfrost: question about cache coherency handling

2025-04-23 Thread Gregory Greenman
Hello, I'm new to DRM development and ran into something in the Panfrost (but also Panthor) driver I'm curious about. In drivers/gpu/drm/panfrost/panfrost_gem.c, there's this line: obj->base.map_wc = !pfdev->coherent; >From what I can tell, this means when the CPU isn't coherent, it uses >writ