diff options
author | Kevin Wang <kevin1.wang@amd.com> | 2019-03-19 17:20:09 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-21 18:59:25 -0500 |
commit | 74c958a3766cd1948978a60cc995c17145a5eed8 (patch) | |
tree | 41b75921263c0fa984e75a9bf4b04bd7a507f752 /drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c | |
parent | 5586348236f81de739f8d818a305d7034651bb00 (diff) |
drm/amd/powerplay: optimization feature mask function for asic
1.change function return value type: from "unallowed" to "allowed"
2.replace feature mask number with feature macro, the code will clear.
Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c')
0 files changed, 0 insertions, 0 deletions