OSDN Git Service

amdgpu/powerplay: constify large struct
authorDave Airlie <airlied@redhat.com>
Wed, 27 Sep 2017 20:44:36 +0000 (06:44 +1000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Sep 2017 20:03:23 +0000 (16:03 -0400)
commitba3b6c4273d5cefbed598e639ebb4a224f2f2dde
tree18725585afdd464534f390c8c75c95c4cde00d95
parentfdd495c57b87078dbcbbc07fa6bf93b5605a95ff
amdgpu/powerplay: constify large struct

This moves this from being global data to global rodata, I'm
sure it would be easy to move it to being local data.

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