]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/amd/powerplay: introduce smu feature type to handle feature mask for each asic
authorHuang Rui <ray.huang@amd.com>
Thu, 30 May 2019 04:14:33 +0000 (23:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:26 +0000 (18:59 -0500)
commitffcb08dfaa3ae80292f89ee36b4604d3751ea4da
tree5196c95b68ec09b9fece601bb2cba6a48b7fc14b
parent0de94acf90e3ac61a11782cbb2394799bba4c96d
drm/amd/powerplay: introduce smu feature type to handle feature mask for each asic

This patch introduces new smu feature type, it's to handle the different feature
mask defines for each asic with the same smu ip.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@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/inc/smu_11_0_driver_if.h
drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
drivers/gpu/drm/amd/powerplay/smu_v11_0.c
drivers/gpu/drm/amd/powerplay/vega20_ppt.c