drm/amdgpu/gfx9.4.3: drop extra wrapper
Subsystems (2)
Alex Deucher
maintainerPATCH 1/1 drm/amdgpu/gfx9.4.3: drop extra wrapper
Drop wrapper used in one place. gfx_v9_4_3_xcc_cp_enable() is used in one place. gfx_v9_4_3_xcc_cp_compute_enable() is used everywhere else.
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c +1 -7
@@ -2299,12 +2299,6 @@ static int gfx_v9_4_3_cp_resume(struct amdgpu_device *adev)return 0 ; } -static void gfx_v9_4_3_xcc_cp_enable (struct amdgpu_device *adev,bool enable, -int xcc_id) -{ -gfx_v9_4_3_xcc_cp_compute_enable (adev, enable, xcc_id); -} -static void gfx_v9_4_3_xcc_fini (struct amdgpu_device *adev,int xcc_id) {if (amdgpu_gfx_disable_kcq (adev, xcc_id))
@@ -2336,7 +2330,7 @@ static void gfx_v9_4_3_xcc_fini(struct amdgpu_device *adev, int xcc_id) }gfx_v9_4_3_xcc_kcq_fini_register (adev, xcc_id); -gfx_v9_4_3_xcc_cp_enable (adev, false, xcc_id); +gfx_v9_4_3_xcc_cp_compute_enable (adev, false, xcc_id); }static int gfx_v9_4_3_hw_init (void *handle)
Signature · 1 line
2.46.0
Alex Deucher
maintainerPATCH 1/1 drm/amdgpu: fix spelling in amd_shared.h
Fix spelling in documentation.
--- drivers/gpu/drm/amd/include/amd_shared.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/include/amd_shared.h +1 -1
@@ -85,7 +85,7 @@ enum amd_apu_flags {* @AMD_IP_BLOCK_TYPE_MES: Micro-Engine Scheduler * @AMD_IP_BLOCK_TYPE_JPEG: JPEG Engine * @AMD_IP_BLOCK_TYPE_VPE: Video Processing Engine -* @AMD_IP_BLOCK_TYPE_UMSCH_MM: User Mode Schduler for Multimedia +* @AMD_IP_BLOCK_TYPE_UMSCH_MM: User Mode Scheduler for Multimedia * @AMD_IP_BLOCK_TYPE_ISP: Image Signal Processor * @AMD_IP_BLOCK_TYPE_NUM: Total number of IP block types */
Signature · 1 line
2.46.0
RE: [PATCH] drm/amdgpu: fix spelling in amd_shared.h
[AMD Official Use Only - AMD Internal Distribution Only]
Quoted 31 lines
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Tuesday, September 10, 2024 10:50 AM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>
Subject: [PATCH] drm/amdgpu: fix spelling inamd_shared.hFix spelling in documentation.
Signed-off-by Alex Deucher <[email protected]>--- drivers/gpu/drm/amd/include/amd_shared.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/include/amd_shared.h +1
-2@@ -85,7 +85,7 @@ enum amd_apu_flags {* @AMD_IP_BLOCK_TYPE_MES: Micro-Engine Scheduler * @AMD_IP_BLOCK_TYPE_JPEG: JPEG Engine * @AMD_IP_BLOCK_TYPE_VPE: Video Processing Engine -* @AMD_IP_BLOCK_TYPE_UMSCH_MM: User Mode Schduler for Multimedia +* @AMD_IP_BLOCK_TYPE_UMSCH_MM: User Mode Scheduler for Multimedia * @AMD_IP_BLOCK_TYPE_ISP: Image Signal Processor * @AMD_IP_BLOCK_TYPE_NUM: Total number of IP block types */ --2.46.0
Quoted 5 lines · Alex Deucher
Drop wrapper used in one place.
gfx_v9_4_3_xcc_cp_enable()is used in one place.gfx_v9_4_3_xcc_cp_compute_enable()is used everywhere else.Signed-off-by Alex Deucher <[email protected]>
Thanks,
Lijo
Quoted 30 lines
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c +1
-7@@ -2299,12 +2299,6 @@ static int gfx_v9_4_3_cp_resume(struct amdgpu_device *adev)return 0 ; } -static void gfx_v9_4_3_xcc_cp_enable (struct amdgpu_device *adev,bool enable, -int xcc_id) -{ -gfx_v9_4_3_xcc_cp_compute_enable (adev, enable, xcc_id); -} -static void gfx_v9_4_3_xcc_fini (struct amdgpu_device *adev,int xcc_id) {if (amdgpu_gfx_disable_kcq (adev, xcc_id))@@ -2336,7 +2330,7 @@ static void gfx_v9_4_3_xcc_fini(struct amdgpu_device *adev, int xcc_id) }gfx_v9_4_3_xcc_kcq_fini_register (adev, xcc_id); -gfx_v9_4_3_xcc_cp_enable (adev, false, xcc_id); +gfx_v9_4_3_xcc_cp_compute_enable (adev, false, xcc_id); }static int gfx_v9_4_3_hw_init (void *handle)