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

2020-05-22 Thread Wang, Kevin(Yang)
[AMD Official Use Only - Internal Distribution Only] From: Alex Deucher Sent: Friday, May 22, 2020 11:16 PM To: Wang, Kevin(Yang) Cc: amd-gfx list ; Deucher, Alexander ; Zhang, Hawking Subject: Re: [PATCH] drm/amdgpu: fix device attribute node create failed

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

2020-05-22 Thread Alex Deucher
On Fri, May 22, 2020 at 10:57 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 wtheth

[PATCH] 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 cr