> -----Original Message----- > From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf > Of Rex Zhu > Sent: Monday, October 09, 2017 1:34 AM > To: amd-gfx at lists.freedesktop.org > Cc: Zhu, Rex > Subject: [PATCH] drm/amd/powerplay: move common function to > smu7_smumgr.c > > fiji and polaris can share same setup_pwr_virus > function. > > Change-Id: I839812969f8839e196b0c09c490b623b01f8ad29 > Signed-off-by: Rex Zhu <Rex.Zhu at amd.com> Reviewed-by: Alex Deucher <alexander.deucher at amd.com> > --- > drivers/gpu/drm/amd/powerplay/inc/fiji_pwrvirus.h | 2007 ------------------- > - > drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c | 43 +- > .../drm/amd/powerplay/smumgr/polaris10_smumgr.c | 43 +- > drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | 46 +- > drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.h | 4 +- > 5 files changed, 49 insertions(+), 2094 deletions(-) > delete mode 100644 drivers/gpu/drm/amd/powerplay/inc/fiji_pwrvirus.h