diff options
| author | Kevin Wang <[email protected]> | 2020-04-27 15:45:49 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-05-18 15:24:15 +0000 |
| commit | 4e01847c38f7a5e2b0ffa8ff74d6bf0e85924240 (patch) | |
| tree | 5cebd8549ee5499135d5d7bd38747563cad0695e /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
| parent | drm/amdgpu: add amdgpu_virt_get_vf_mode helper function (diff) | |
| download | kernel-4e01847c38f7a5e2b0ffa8ff74d6bf0e85924240.tar.gz kernel-4e01847c38f7a5e2b0ffa8ff74d6bf0e85924240.zip | |
drm/amdgpu: optimize amdgpu device attribute code
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 enum.
2. rename callback function perform to attr_update.
3. modify some variable names
Signed-off-by: Kevin Wang <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions
