[PATCH][next] drm/amdgpu: Fix spelling mistake "PRORITY" -> "PRIORITY"

Colin Ian King colin.i.king at gmail.com
Wed Apr 24 16:11:55 UTC 2024


There are spelling mistakes in a literal string and enums, fix these.
Currently there are no uses of the enums that got renamed in this fix.

Signed-off-by: Colin Ian King <colin.i.king at gmail.com>
---
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c        | 2 +-
 drivers/gpu/drm/amd/include/mes_api_def.h     | 2 +-
 drivers/gpu/drm/amd/include/mes_v11_api_def.h | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
index fbe31afad1d4..44f1af6da21e 100644
--- a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
@@ -111,7 +111,7 @@ static const char *mes_v11_0_opcodes[] = {
 	"RESUME",
 	"RESET",
 	"SET_LOG_BUFFER",
-	"CHANGE_GANG_PRORITY",
+	"CHANGE_GANG_PRIORITY",
 	"QUERY_SCHEDULER_STATUS",
 	"PROGRAM_GDS",
 	"SET_DEBUG_VMID",
diff --git a/drivers/gpu/drm/amd/include/mes_api_def.h b/drivers/gpu/drm/amd/include/mes_api_def.h
index bf3d6ad263f9..ed479575df18 100644
--- a/drivers/gpu/drm/amd/include/mes_api_def.h
+++ b/drivers/gpu/drm/amd/include/mes_api_def.h
@@ -54,7 +54,7 @@ enum MES_SCH_API_OPCODE {
 	MES_SCH_API_RESUME			= 7,
 	MES_SCH_API_RESET			= 8,
 	MES_SCH_API_SET_LOG_BUFFER		= 9,
-	MES_SCH_API_CHANGE_GANG_PRORITY		= 10,
+	MES_SCH_API_CHANGE_GANG_PRIORITY	= 10,
 	MES_SCH_API_QUERY_SCHEDULER_STATUS	= 11,
 	MES_SCH_API_PROGRAM_GDS			= 12,
 	MES_SCH_API_SET_DEBUG_VMID		= 13,
diff --git a/drivers/gpu/drm/amd/include/mes_v11_api_def.h b/drivers/gpu/drm/amd/include/mes_v11_api_def.h
index 410c8d664336..5b8fd9465cf3 100644
--- a/drivers/gpu/drm/amd/include/mes_v11_api_def.h
+++ b/drivers/gpu/drm/amd/include/mes_v11_api_def.h
@@ -54,7 +54,7 @@ enum MES_SCH_API_OPCODE {
 	MES_SCH_API_RESUME			= 7,
 	MES_SCH_API_RESET			= 8,
 	MES_SCH_API_SET_LOG_BUFFER		= 9,
-	MES_SCH_API_CHANGE_GANG_PRORITY		= 10,
+	MES_SCH_API_CHANGE_GANG_PRIORITY	= 10,
 	MES_SCH_API_QUERY_SCHEDULER_STATUS	= 11,
 	MES_SCH_API_PROGRAM_GDS			= 12,
 	MES_SCH_API_SET_DEBUG_VMID		= 13,
-- 
2.39.2



More information about the amd-gfx mailing list