drm/amdgpu: drop unused df init callback

Submitted by Alex Deucher on June 21, 2019, 9:33 p.m.

Details

Message ID 20190621213320.31205-1-alexander.deucher@amd.com
State Accepted
Commit f3f48d7331cf5ad9a6b3a6beff38f3dad1871b49
Headers show
Series "drm/amdgpu: drop unused df init callback" ( rev: 1 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Alex Deucher June 21, 2019, 9:33 p.m.
It was replaced with the sw_init callback so is no longer
needed.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 -
 1 file changed, 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 7118ca21aa4e..896a4bc60040 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -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);

Comments

On 2019-06-21 5:33 p.m., Alex Deucher wrote:
> It was replaced with the sw_init callback so is no longer

> needed.

>

> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>

> ---

>   drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 -

>   1 file changed, 1 deletion(-)

>

> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h

> index 7118ca21aa4e..896a4bc60040 100644

> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h

> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h

> @@ -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);