On Feb 8, 2021, at 08:35, Christian König christian.koenig@amd.com wrote:
Hi Zack,
ok we figured out how to do this correctly.
Basically using the pdev->kobj instead of the drm->primary->kdev->kobj pointer worked quite well.
I've just send the latest patches to the mailing list. If you don't have any objections I will commit that tomorrow with your and Daniels rb.
That sounds good. That moves the entries under /sys/devices/pciBUS/ID/memory_accounting , yes?
z