Re: [PATCH v2] drm/amdgpu: fix device attribute node create failed with multi gpu

2020-05-22 Thread Alex Deucher
On Fri, May 22, 2020 at 11:41 AM Kevin Wang wrote: > > the origin design will use varible of "attr->states" to save node > supported states on current gpu device, but for multi gpu device, when > probe second gpu device, the driver will check attribute node states > from previous gpu device

[PATCH v2] drm/amdgpu: fix device attribute node create failed with multi gpu

2020-05-22 Thread Kevin Wang
the origin design will use varible of "attr->states" to save node supported states on current gpu device, but for multi gpu device, when probe second gpu device, the driver will check attribute node states from previous gpu device wthether to create attribute node. it will cause other gpu device