Re: [RFC PATCH 0/3] new subsystem for compute accelerator devices
From: Jason Gunthorpe
Date: Tue Oct 25 2022 - 07:15:28 EST
On Tue, Oct 25, 2022 at 12:27:11PM +1000, Dave Airlie wrote:
> The userspace for those is normally bespoke like ROCm, which uses
> amdkfd, and amdkfd doesn't operate like most device files from what I
> know, so I'm not sure we'd want it to operate as an accel device.
I intensely dislike this direction that drivers will create their own
char devs buried inside their device driver with no support or
supervision.
We've been here before with RDMA and it is just a complete mess.
Whatever special non-drm stuff amdkfd need to do should be supported
through the new subsystem, in a proper maintainable way.
Jason