Re: [RFC PATCH 0/3] new subsystem for compute accelerator devices
From: Alex Deucher
Date: Tue Oct 25 2022 - 10:43:21 EST
On Tue, Oct 25, 2022 at 10:34 AM Jason Gunthorpe <jgg@xxxxxxxxxx> wrote:
>
> On Tue, Oct 25, 2022 at 10:21:34AM -0400, Alex Deucher wrote:
>
> > E.g., the kfd node provides platform level compute
> > topology information; e.g., the NUMA details for connected GPUs and
> > CPUs, non-GPU compute node information, cache level topologies, etc.
>
> See, this is exactly what I'm talking about. What on earth does any of
> this have to do with DRM?
At least for the GPU information it seems relevant. What value are
acceleration device cache topologies outside of the subsytsem that
uses them?
>
> We alread have places in the kernel that own and expose these kinds of
> information, drivers need to use them. Not re-invent them.
I don't disagree, but I'm not sure where the best place for these
should be. Probably a lack of knowledge of where this should actually
live and indifference from the maintainers of those areas since this
use case doesn't match existing ones.
Alex