[PATCH v2 10/15] drm/panthor: Add the heap logical block

Boris Brezillon boris.brezillon at collabora.com
Tue Aug 29 16:21:29 UTC 2023


On Fri, 18 Aug 2023 15:39:03 +0100
Steven Price <steven.price at arm.com> wrote:

> I'm not sure whether we should really be describing this structure in
> the kernel. Beyond the size the kernel has no reason to be looking at
> the internals and the spec does have a warning that the layout may change.

Yeah, I guess I just wanted to have that documented somewhere, so
people understand what this heap context is about. Was quite obscure to
me before that. Anyway, I can move that to some mesa doc, that's not a
big deal.

> 
> Interestingly kbase also rounds this size up to ensure that it is at
> least a cache line. Which I guess might be required if the CPU and GPU
> are not coherent as we zero the context (from the CPU) before use.

Makes sense.


More information about the dri-devel mailing list