linux_dsm_epyc7002/drivers/gpu/drm/amd
Kevin Wang 4e01847c38 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 <kevin1.wang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-05-18 11:24:15 -04:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu: optimize amdgpu device attribute code 2020-05-18 11:24:15 -04:00
amdkfd drm/amdkfd: Use a systematic method to calculate queue mask bit 2020-05-01 15:19:08 -04:00
display Merge tag 'amd-drm-next-5.8-2020-05-12' of git://people.freedesktop.org/~agd5f/linux into drm-next 2020-05-14 13:21:33 +10:00
include drm/amd/amdgpu: Add missing GRBM bits for GFX 10.1 2020-05-11 18:03:25 -04:00
powerplay drm/amdgpu: Updated XGMI power down control support check 2020-05-14 17:43:59 -04:00