RE: [PATCH 2/4] drm/amdgpu: optimize amdgpu device attribute code

2020-05-17 Thread Zhang, Hawking
To: amd-gfx@lists.freedesktop.org Cc: Zhang, Hawking ; Deucher, Alexander ; Liu, Monk ; Feng, Kenneth ; Wang, Kevin(Yang) Subject: [PATCH 2/4] drm/amdgpu: optimize amdgpu device attribute code unified amdgpu device attribute node functions: 1. add some helper functions to create amdgpu device

[PATCH 2/4] drm/amdgpu: optimize amdgpu device attribute code

2020-05-07 Thread Kevin Wang
unified amdgpu device attribute node functions: 1. add some helper functions to create amdgpu device attribute node. 2. create device node according to device attr flags on different VF mode. 3. rename some functions name to adapt a new interface. v2: 1. remove ATTR_STATE_DEAD, ATTR_STATE_ALIVE