Reviewed-by: Evan Quan <evan.quan@xxxxxxx> > -----Original Message----- > From: amd-gfx <amd-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of Rex > Zhu > Sent: 2018年9月30日 0:15 > To: amd-gfx@xxxxxxxxxxxxxxxxxxxxx > Cc: Zhu, Rex <Rex.Zhu@xxxxxxx> > Subject: [PATCH 6/6] drm/amdgpu: Drop dead define in amdgpu.h > > the struct was not in use any more. > > Signed-off-by: Rex Zhu <Rex.Zhu@xxxxxxx> > --- > drivers/gpu/drm/amd/amdgpu/amdgpu.h | 28 ---------------------------- > 1 file changed, 28 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h > b/drivers/gpu/drm/amd/amdgpu/amdgpu.h > index 7c44871..c21d9b9 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h > @@ -616,31 +616,6 @@ struct amdgpu_wb { > */ > void amdgpu_test_moves(struct amdgpu_device *adev); > > - > -/* > - * amdgpu smumgr functions > - */ > -struct amdgpu_smumgr_funcs { > - int (*check_fw_load_finish)(struct amdgpu_device *adev, uint32_t > fwtype); > - int (*request_smu_load_fw)(struct amdgpu_device *adev); > - int (*request_smu_specific_fw)(struct amdgpu_device *adev, > uint32_t fwtype); > -}; > - > -/* > - * amdgpu smumgr > - */ > -struct amdgpu_smumgr { > - struct amdgpu_bo *toc_buf; > - struct amdgpu_bo *smu_buf; > - /* asic priv smu data */ > - void *priv; > - spinlock_t smu_lock; > - /* smumgr functions */ > - const struct amdgpu_smumgr_funcs *smumgr_funcs; > - /* ucode loading complete flag */ > - uint32_t fw_flags; > -}; > - > /* > * ASIC specific register table accessible by UMD > */ > @@ -979,9 +954,6 @@ struct amdgpu_device { > u32 cg_flags; > u32 pg_flags; > > - /* amdgpu smumgr */ > - struct amdgpu_smumgr smu; > - > /* gfx */ > struct amdgpu_gfx gfx; > > -- > 1.9.1 > > _______________________________________________ > amd-gfx mailing list > amd-gfx@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/amd-gfx _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx