Skip to content
  1. May 29, 2020
  2. May 28, 2020
  3. May 27, 2020
    • Kevin Wang's avatar
      drm/amdgpu: fix device attribute node create failed with multi gpu · ba02fd6b
      Kevin Wang authored
      
      
      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 create attribute node faild.
      
      1. add member attr_list into amdgpu_device to link supported device attribute node.
      2. add new structure "struct amdgpu_device_attr_entry{}" to track device attribute state.
      3. drop member "states" from amdgpu_device_attr.
      
      v2:
      1. move "attr_list" into amdgpu_pm and rename to "pm_attr_list".
      2. refine create & remove device node functions parameter.
      
      fix:
      drm/amdgpu: optimize amdgpu device attribute code
      
      Signed-off-by: default avatarKevin Wang <kevin1.wang@amd.com>
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      ba02fd6b
  4. May 26, 2020
  5. May 23, 2020
  6. May 22, 2020