AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Feifei Xu <Feifei.Xu-5C7GfCeVMHo@public.gmane.org>
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Cc: Alexander.Deucher-5C7GfCeVMHo@public.gmane.org,
	Feifei Xu <Feifei.Xu-5C7GfCeVMHo@public.gmane.org>,
	michel-otUistvHUpPR7s880joybQ@public.gmane.org,
	christian.koenig-5C7GfCeVMHo@public.gmane.org
Subject: [Resend 3/3] drm/amd/include:cleanup vega10 mp header files.
Date: Fri, 17 Nov 2017 18:27:54 +0800	[thread overview]
Message-ID: <1510914474-16409-3-git-send-email-Feifei.Xu@amd.com> (raw)
In-Reply-To: <1510914474-16409-1-git-send-email-Feifei.Xu-5C7GfCeVMHo@public.gmane.org>

To remove include/asic_reg/vega10 folder, this patch cleanup
asic_reg/vega10/MP folder, and remove unused mp_9_0_default.h.

Change-Id: Id53e6ab7a8bc78ff61457836b1b3ce499b158610
Signed-off-by: Feifei Xu <Feifei.Xu@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c              |   4 +-
 drivers/gpu/drm/amd/amdgpu/soc15.c                 |   4 +-
 .../asic_reg/{vega10/MP => mp}/mp_9_0_offset.h     |   0
 .../asic_reg/{vega10/MP => mp}/mp_9_0_sh_mask.h    |   0
 .../include/asic_reg/vega10/MP/mp_9_0_default.h    | 342 ---------------------
 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_inc.h   |   5 +-
 6 files changed, 6 insertions(+), 349 deletions(-)
 rename drivers/gpu/drm/amd/include/asic_reg/{vega10/MP => mp}/mp_9_0_offset.h (100%)
 rename drivers/gpu/drm/amd/include/asic_reg/{vega10/MP => mp}/mp_9_0_sh_mask.h (100%)
 delete mode 100644 drivers/gpu/drm/amd/include/asic_reg/vega10/MP/mp_9_0_default.h

diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v3_1.c b/drivers/gpu/drm/amd/amdgpu/psp_v3_1.c
index b855964..53df744 100644
--- a/drivers/gpu/drm/amd/amdgpu/psp_v3_1.c
+++ b/drivers/gpu/drm/amd/amdgpu/psp_v3_1.c
@@ -32,8 +32,8 @@
 #include "psp_v3_1.h"
 
 #include "vega10/soc15ip.h"
-#include "vega10/MP/mp_9_0_offset.h"
-#include "vega10/MP/mp_9_0_sh_mask.h"
+#include "mp/mp_9_0_offset.h"
+#include "mp/mp_9_0_sh_mask.h"
 #include "vega10/GC/gc_9_0_offset.h"
 #include "sdma0/sdma0_4_0_offset.h"
 #include "vega10/NBIO/nbio_6_1_offset.h"
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index b07d37b..1f54521 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -42,8 +42,8 @@
 #include "sdma1/sdma1_4_0_offset.h"
 #include "hdp/hdp_4_0_offset.h"
 #include "hdp/hdp_4_0_sh_mask.h"
-#include "vega10/MP/mp_9_0_offset.h"
-#include "vega10/MP/mp_9_0_sh_mask.h"
+#include "mp/mp_9_0_offset.h"
+#include "mp/mp_9_0_sh_mask.h"
 #include "vega10/SMUIO/smuio_9_0_offset.h"
 #include "vega10/SMUIO/smuio_9_0_sh_mask.h"
 
diff --git a/drivers/gpu/drm/amd/include/asic_reg/vega10/MP/mp_9_0_offset.h b/drivers/gpu/drm/amd/include/asic_reg/mp/mp_9_0_offset.h
similarity index 100%
rename from drivers/gpu/drm/amd/include/asic_reg/vega10/MP/mp_9_0_offset.h
rename to drivers/gpu/drm/amd/include/asic_reg/mp/mp_9_0_offset.h
diff --git a/drivers/gpu/drm/amd/include/asic_reg/vega10/MP/mp_9_0_sh_mask.h b/drivers/gpu/drm/amd/include/asic_reg/mp/mp_9_0_sh_mask.h
similarity index 100%
rename from drivers/gpu/drm/amd/include/asic_reg/vega10/MP/mp_9_0_sh_mask.h
rename to drivers/gpu/drm/amd/include/asic_reg/mp/mp_9_0_sh_mask.h
diff --git a/drivers/gpu/drm/amd/include/asic_reg/vega10/MP/mp_9_0_default.h b/drivers/gpu/drm/amd/include/asic_reg/vega10/MP/mp_9_0_default.h
deleted file mode 100644
index 98ba7d8..0000000
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_inc.h b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_inc.h
index 8c55eaa..2573f95 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_inc.h
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_inc.h
@@ -28,9 +28,8 @@
 #include "asic_reg/vega10/THM/thm_9_0_offset.h"
 #include "asic_reg/vega10/THM/thm_9_0_sh_mask.h"
 
-#include "asic_reg/vega10/MP/mp_9_0_default.h"
-#include "asic_reg/vega10/MP/mp_9_0_offset.h"
-#include "asic_reg/vega10/MP/mp_9_0_sh_mask.h"
+#include "asic_reg/mp/mp_9_0_offset.h"
+#include "asic_reg/mp/mp_9_0_sh_mask.h"
 
 #include "asic_reg/vega10/GC/gc_9_0_default.h"
 #include "asic_reg/vega10/GC/gc_9_0_offset.h"
-- 
2.7.4

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2017-11-17 10:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-17 10:27 [Resend 1/3] drm/amd/include:cleanup vega10 sdma0/1 header files Feifei Xu
     [not found] ` <1510914474-16409-1-git-send-email-Feifei.Xu-5C7GfCeVMHo@public.gmane.org>
2017-11-17 10:27   ` [Resend 2/3] drm/amd/include:cleanup vega10 hdp " Feifei Xu
2017-11-17 10:27   ` Feifei Xu [this message]
2017-11-17 10:34   ` [Resend 1/3] drm/amd/include:cleanup vega10 sdma0/1 " Christian König
2017-11-17 10:35   ` Feifei Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1510914474-16409-3-git-send-email-Feifei.Xu@amd.com \
    --to=feifei.xu-5c7gfcevmho@public.gmane.org \
    --cc=Alexander.Deucher-5C7GfCeVMHo@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=christian.koenig-5C7GfCeVMHo@public.gmane.org \
    --cc=michel-otUistvHUpPR7s880joybQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox