drm/amdgpu: drop dead header

Submitted by Alex Deucher on July 16, 2019, 2:31 p.m.

Details

Message ID 20190716143116.5262-1-alexander.deucher@amd.com
State Accepted
Commit 6ea624f60393edc114feb33fa738d6f2f47e9032
Headers show
Series "drm/amdgpu: drop dead header" ( rev: 1 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Alex Deucher July 16, 2019, 2:31 p.m.
Not used anymore.

Noticed-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/vi.c     |  1 -
 drivers/gpu/drm/amd/amdgpu/vi_dpm.h | 32 -----------------------------
 2 files changed, 33 deletions(-)
 delete mode 100644 drivers/gpu/drm/amd/amdgpu/vi_dpm.h

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
index b8adf3808de2..fffae4c2973b 100644
--- a/drivers/gpu/drm/amd/amdgpu/vi.c
+++ b/drivers/gpu/drm/amd/amdgpu/vi.c
@@ -57,7 +57,6 @@ 
 
 #include "vid.h"
 #include "vi.h"
-#include "vi_dpm.h"
 #include "gmc_v8_0.h"
 #include "gmc_v7_0.h"
 #include "gfx_v8_0.h"
diff --git a/drivers/gpu/drm/amd/amdgpu/vi_dpm.h b/drivers/gpu/drm/amd/amdgpu/vi_dpm.h
deleted file mode 100644
index c43e03fddfba..000000000000
--- a/drivers/gpu/drm/amd/amdgpu/vi_dpm.h
+++ /dev/null
@@ -1,32 +0,0 @@ 
-/*
- * Copyright 2014 Advanced Micro Devices, Inc.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
- * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
- * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
- * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- *
- */
-
-#ifndef __VI_DPM_H__
-#define __VI_DPM_H__
-
-extern const struct amd_ip_funcs cz_dpm_ip_funcs;
-int cz_smu_init(struct amdgpu_device *adev);
-int cz_smu_start(struct amdgpu_device *adev);
-int cz_smu_fini(struct amdgpu_device *adev);
-
-#endif

Comments

Am 16.07.19 um 16:31 schrieb Alex Deucher:
> Not used anymore.
>
> Noticed-by: Dave Airlie <airlied@gmail.com>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

Acked-by: Christian König <christian.koenig@amd.com>

> ---
>   drivers/gpu/drm/amd/amdgpu/vi.c     |  1 -
>   drivers/gpu/drm/amd/amdgpu/vi_dpm.h | 32 -----------------------------
>   2 files changed, 33 deletions(-)
>   delete mode 100644 drivers/gpu/drm/amd/amdgpu/vi_dpm.h
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
> index b8adf3808de2..fffae4c2973b 100644
> --- a/drivers/gpu/drm/amd/amdgpu/vi.c
> +++ b/drivers/gpu/drm/amd/amdgpu/vi.c
> @@ -57,7 +57,6 @@
>   
>   #include "vid.h"
>   #include "vi.h"
> -#include "vi_dpm.h"
>   #include "gmc_v8_0.h"
>   #include "gmc_v7_0.h"
>   #include "gfx_v8_0.h"
> diff --git a/drivers/gpu/drm/amd/amdgpu/vi_dpm.h b/drivers/gpu/drm/amd/amdgpu/vi_dpm.h
> deleted file mode 100644
> index c43e03fddfba..000000000000
> --- a/drivers/gpu/drm/amd/amdgpu/vi_dpm.h
> +++ /dev/null
> @@ -1,32 +0,0 @@
> -/*
> - * Copyright 2014 Advanced Micro Devices, Inc.
> - *
> - * Permission is hereby granted, free of charge, to any person obtaining a
> - * copy of this software and associated documentation files (the "Software"),
> - * to deal in the Software without restriction, including without limitation
> - * the rights to use, copy, modify, merge, publish, distribute, sublicense,
> - * and/or sell copies of the Software, and to permit persons to whom the
> - * Software is furnished to do so, subject to the following conditions:
> - *
> - * The above copyright notice and this permission notice shall be included in
> - * all copies or substantial portions of the Software.
> - *
> - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
> - * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
> - * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
> - * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
> - * OTHER DEALINGS IN THE SOFTWARE.
> - *
> - */
> -
> -#ifndef __VI_DPM_H__
> -#define __VI_DPM_H__
> -
> -extern const struct amd_ip_funcs cz_dpm_ip_funcs;
> -int cz_smu_init(struct amdgpu_device *adev);
> -int cz_smu_start(struct amdgpu_device *adev);
> -int cz_smu_fini(struct amdgpu_device *adev);
> -
> -#endif
Reviewed-by: Evan Quan <evan.quan@amd.com>


> -----Original Message-----

> From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of Alex

> Deucher

> Sent: Tuesday, July 16, 2019 10:31 PM

> To: amd-gfx@lists.freedesktop.org

> Cc: Deucher, Alexander <Alexander.Deucher@amd.com>; Dave Airlie

> <airlied@gmail.com>

> Subject: [PATCH] drm/amdgpu: drop dead header

> 

> Not used anymore.

> 

> Noticed-by: Dave Airlie <airlied@gmail.com>

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

> ---

>  drivers/gpu/drm/amd/amdgpu/vi.c     |  1 -

>  drivers/gpu/drm/amd/amdgpu/vi_dpm.h | 32 -----------------------------

>  2 files changed, 33 deletions(-)

>  delete mode 100644 drivers/gpu/drm/amd/amdgpu/vi_dpm.h

> 

> diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c

> b/drivers/gpu/drm/amd/amdgpu/vi.c index b8adf3808de2..fffae4c2973b

> 100644

> --- a/drivers/gpu/drm/amd/amdgpu/vi.c

> +++ b/drivers/gpu/drm/amd/amdgpu/vi.c

> @@ -57,7 +57,6 @@

> 

>  #include "vid.h"

>  #include "vi.h"

> -#include "vi_dpm.h"

>  #include "gmc_v8_0.h"

>  #include "gmc_v7_0.h"

>  #include "gfx_v8_0.h"

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

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

> deleted file mode 100644

> index c43e03fddfba..000000000000

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

> +++ /dev/null

> @@ -1,32 +0,0 @@

> -/*

> - * Copyright 2014 Advanced Micro Devices, Inc.

> - *

> - * Permission is hereby granted, free of charge, to any person obtaining a

> - * copy of this software and associated documentation files (the "Software"),

> - * to deal in the Software without restriction, including without limitation

> - * the rights to use, copy, modify, merge, publish, distribute, sublicense,

> - * and/or sell copies of the Software, and to permit persons to whom the

> - * Software is furnished to do so, subject to the following conditions:

> - *

> - * The above copyright notice and this permission notice shall be included in

> - * all copies or substantial portions of the Software.

> - *

> - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,

> EXPRESS OR

> - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF

> MERCHANTABILITY,

> - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO

> EVENT SHALL

> - * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM,

> DAMAGES OR

> - * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR

> OTHERWISE,

> - * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR

> THE USE OR

> - * OTHER DEALINGS IN THE SOFTWARE.

> - *

> - */

> -

> -#ifndef __VI_DPM_H__

> -#define __VI_DPM_H__

> -

> -extern const struct amd_ip_funcs cz_dpm_ip_funcs; -int cz_smu_init(struct

> amdgpu_device *adev); -int cz_smu_start(struct amdgpu_device *adev); -

> int cz_smu_fini(struct amdgpu_device *adev);

> -

> -#endif

> --

> 2.20.1

> 

> _______________________________________________

> amd-gfx mailing list

> amd-gfx@lists.freedesktop.org

> https://lists.freedesktop.org/mailman/listinfo/amd-gfx