]> git.karo-electronics.de Git - linux-beck.git/commit
drm/amd/powerplay: change backend allocation to backend init
authorEric Huang <JinHuiEric.Huang@amd.com>
Thu, 2 Jun 2016 20:15:59 +0000 (16:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:51:37 +0000 (14:51 -0400)
commit76ad42c1928247b5b052e55852c41d2a5d8b2a2d
tree5f4090fd6098d89bc7c5a77297d727a042295a97
parentc27371b87914ad2376bb5e084eba4fe89d08a6db
drm/amd/powerplay: change backend allocation to backend init

backend_init and backend_fini are paired functions, backend is freed
in backend_fini and should be allocated in backend_init.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c