drm/amdgpu: retired reset_ras_error_count from hdp callbacks
authorHawking Zhang <Hawking.Zhang@amd.com>
Wed, 28 Apr 2021 08:45:35 +0000 (16:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 May 2021 22:06:43 +0000 (18:06 -0400)
It was moved to hdp ras callbacks

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: John Clements <John.Clements@amd.com>
Reviewed-by: Dennis Li <Dennis.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.h
drivers/gpu/drm/amd/amdgpu/hdp_v4_0.c

index ba6f272cfa2187d42f5de7c1ddb2a0f835450602..7ec99d591584b0137e1a5fa8ad4f99c9d1905720 100644 (file)
@@ -35,7 +35,6 @@ struct amdgpu_hdp_funcs {
        void (*flush_hdp)(struct amdgpu_device *adev, struct amdgpu_ring *ring);
        void (*invalidate_hdp)(struct amdgpu_device *adev,
                               struct amdgpu_ring *ring);
-       void (*reset_ras_error_count)(struct amdgpu_device *adev);
        void (*update_clock_gating)(struct amdgpu_device *adev, bool enable);
        void (*get_clock_gating_state)(struct amdgpu_device *adev, u32 *flags);
        void (*init_registers)(struct amdgpu_device *adev);
index 330c0f0e00b880741afee411d88538ae8322a345..74b90cc2bf48048e7f0f0e02797cdf73f0967fcb 100644 (file)
@@ -159,7 +159,6 @@ const struct amdgpu_hdp_ras_funcs hdp_v4_0_ras_funcs = {
 const struct amdgpu_hdp_funcs hdp_v4_0_funcs = {
        .flush_hdp = hdp_v4_0_flush_hdp,
        .invalidate_hdp = hdp_v4_0_invalidate_hdp,
-       .reset_ras_error_count = hdp_v4_0_reset_ras_error_count,
        .update_clock_gating = hdp_v4_0_update_clock_gating,
        .get_clock_gating_state = hdp_v4_0_get_clockgating_state,
        .init_registers = hdp_v4_0_init_registers,