Skip to contentSkip to conversation

drm/amdgpu: drop dead header

PATCH In review Alex Deucher 3 participants 3 messages Jul 16, 2019 – Jul 17, 2019 1 message not in the archive

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

PATCH 1/1 drm/amdgpu: drop dead header

Not used anymore.

---
 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
drivers/gpu/drm/amd/amdgpu/vi.c +0 -1
index b8adf3808de2..fffae4c2973b 100644
@@ -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"
drivers/gpu/drm/amd/amdgpu/vi_dpm.h deleted +0 -32
deleted file mode 100644
index c43e03fddfba..000000000000
@@ -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
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): 20190716143116.5262-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org

#2 lore raw

Am 16.07.19 um 16:31 schrieb Alex Deucher:

Quoted 4 lines

Not used anymore.

Quoted 46 lines
---
  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

drivers/gpu/drm/amd/amdgpu/vi.c +0 -1
index b8adf3808de2..fffae4c2973b 100644
@@ -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"
drivers/gpu/drm/amd/amdgpu/vi_dpm.h deleted +0 -22
deleted file mode 100644
index c43e03fddfba..000000000000
@@ -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.
- *
- */

drivers/gpu/drm/amd/amdgpu/vi_dpm.h line 32

Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/vi_dpm.h deleted +0 -10
-
-#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

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

Reviewed-by Evan Quan
#3 lore raw
In reply to a message not in the archive
Quoted 79 lines

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Tuesday, July 16, 2019 10:31 PM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>; Dave Airlie <[email protected]>
Subject: [PATCH] drm/amdgpu: drop dead header

Not used anymore.

---
 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
(quoted diff) +0 -0

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

drivers/gpu/drm/amd/amdgpu/vi.c +0 -1
@@ -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"
drivers/gpu/drm/amd/amdgpu/vi_dpm.h deleted +0 -14
deleted file mode 100644
index c43e03fddfba..000000000000
@@ -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.
- *
- */

drivers/gpu/drm/amd/amdgpu/vi_dpm.h deleted +0 -5
-
-#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);

drivers/gpu/drm/amd/amdgpu/vi_dpm.h deleted +0 -3
-
-#endif
--

2.20.1

Quoted 4 lines

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

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