[PATCH] drm/amdgpu: remove amdgpu_pm_sysfs_init in ci_dpm.c

Alex Deucher alexdeucher at gmail.com
Fri Nov 17 15:04:11 UTC 2017


On Fri, Nov 17, 2017 at 3:15 AM, Rex Zhu <Rex.Zhu at amd.com> wrote:
> this function was called in amdgpu_device_init
>
> Change-Id: I69aa77ba7db41d2202c3d6ffd606965f0cad3106
> Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

Alex

> ---
>  drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/ci_dpm.c b/drivers/gpu/drm/amd/amdgpu/ci_dpm.c
> index 5a60c16..b47da60 100644
> --- a/drivers/gpu/drm/amd/amdgpu/ci_dpm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/ci_dpm.c
> @@ -6294,11 +6294,6 @@ static int ci_dpm_late_init(void *handle)
>         if (!amdgpu_dpm)
>                 return 0;
>
> -       /* init the sysfs and debugfs files late */
> -       ret = amdgpu_pm_sysfs_init(adev);
> -       if (ret)
> -               return ret;
> -
>         ret = ci_set_temperature_range(adev);
>         if (ret)
>                 return ret;
> --
> 1.9.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list