]> git.baikalelectronics.ru Git - kernel.git/commit
amdgpu/pp: move amdgpu_fuses_default into static const.
authorDave Airlie <airlied@redhat.com>
Wed, 27 Sep 2017 23:36:55 +0000 (09:36 +1000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Sep 2017 20:03:26 +0000 (16:03 -0400)
commita531904902eca48a73372d2fe7e8d407e102afde
tree158086f30d1a82eb6f9b6045e6f28b6e163f1c89
parent8bcbef3a62fdc45aa737736abcfeb9a33e0abb0e
amdgpu/pp: move amdgpu_fuses_default into static const.

There is no reason that this gets passed back into the function
from outside the file, just reference the table directly.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/pp_overdriver.c
drivers/gpu/drm/amd/powerplay/hwmgr/pp_overdriver.h
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c