Skip to contentSkip to conversation

drm/amdgpu: drop unused df init callback

PATCH In review Alex Deucher 2 participants 2 messages Jun 21, 2019 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: drop unused df init callback

It was replaced with the sw_init callback so is no longer needed.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu.h +0 -1
index 7118ca21aa4e..896a4bc60040 100644
@@ -687,7 +687,6 @@ struct amdgpu_nbio_funcs {
 };
 
 struct amdgpu_df_funcs {
-	void (*init)(struct amdgpu_device *adev);
 	void (*sw_init)(struct amdgpu_device *adev);
 	void (*enable_broadcast_mode)(struct amdgpu_device *adev,
 				      bool enable);
Signature · 6 lines
2.20.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 20190621213320.31205-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org

Reviewed-by Felix Kuehling
#2 lore raw
Quoted 4 lines · Alex Deucher

It was replaced with the sw_init callback so is no longer needed.

Quoted 9 lines
---
  drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 -
  1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu.h +0 -0
index 7118ca21aa4e..896a4bc60040 100644

drivers/gpu/drm/amd/amdgpu/amdgpu.h struct amdgpu_nbio_funcs { · line 692

Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/amdgpu.h +0 -1
@@ -687,7 +687,6 @@ struct amdgpu_nbio_funcs {
  };
 
  struct amdgpu_df_funcs {
-	void (*init)(struct amdgpu_device *adev);
  	void (*sw_init)(struct amdgpu_device *adev);
  	void (*enable_broadcast_mode)(struct amdgpu_device *adev,
  				      bool enable);

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx