Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/pm: Drop legacy message related fields

Remove legacy message related fields from smu context.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Lijo Lazar and committed by
Alex Deucher
a45eef15 97cf0aac

-8
-2
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
··· 826 826 smu->user_dpm_profile.fan_mode = -1; 827 827 smu->power_profile_mode = PP_SMC_POWER_PROFILE_UNKNOWN; 828 828 829 - mutex_init(&smu->message_lock); 830 - 831 829 adev->powerplay.pp_handle = smu; 832 830 adev->powerplay.pp_funcs = &swsmu_pm_funcs; 833 831
-6
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
··· 655 655 struct amdgpu_irq_src irq_source; 656 656 657 657 const struct pptable_funcs *ppt_funcs; 658 - const struct cmn2asic_msg_mapping *message_map; 659 658 const struct cmn2asic_mapping *clock_map; 660 659 const struct cmn2asic_mapping *feature_map; 661 660 const struct cmn2asic_mapping *table_map; 662 661 const struct cmn2asic_mapping *pwr_src_map; 663 662 const struct cmn2asic_mapping *workload_map; 664 - struct mutex message_lock; 665 663 uint64_t pool_size; 666 664 667 665 struct smu_table_context smu_table; ··· 742 744 struct stb_context stb_context; 743 745 744 746 struct firmware pptable_firmware; 745 - 746 - u32 param_reg; 747 - u32 msg_reg; 748 - u32 resp_reg; 749 747 750 748 u32 debug_param_reg; 751 749 u32 debug_msg_reg;