]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/amd/powerplay: implement update enabled feature state to smc for smu11
authorKevin Wang <kevin1.wang@amd.com>
Thu, 24 Jan 2019 07:27:02 +0000 (15:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:00 +0000 (15:04 -0500)
commitf14a323db5b0f6cca18b7908337c84b16b2f4e92
treea3ae3da4e78a092d9ddec8aae759411c57aef7cc
parent1507418667f8b0893c90fa8bd4ff965cd4bc14ea
drm/amd/powerplay: implement update enabled feature state to smc for smu11

change:
1.when enable smu feature, the feature id will store sw-bitmap and smu
controller.
2.add feature mutex lock to protect feature bitmap changed when update
feature enabled state.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c