[PATCH] drm/msm: Fix spelling mistake "swtich" to "switch"

Zhu Jun posted 1 patch 1 week ago
drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] drm/msm: Fix spelling mistake "swtich" to "switch"
Posted by Zhu Jun 1 week ago
There is a spelling mistake, Please fix it.

Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
---
 drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml b/drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml
index cab01af55d22..d28fac3fb6a8 100644
--- a/drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml
+++ b/drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml
@@ -563,7 +563,7 @@ xsi:schemaLocation="https://gitlab.freedesktop.org/freedreno/ rules-fd.xsd">
 	<value name="IN_IB_END" value="0x0a" variants="A6XX-"/>
 	<!-- handles IFPC save/restore -->
 	<value name="IN_GMU_INTERRUPT" value="0x0b" variants="A6XX-"/>
-	<!-- preemption/context-swtich routine -->
+	<!-- preemption/context-switch routine -->
 	<value name="IN_PREEMPT" value="0x0f" variants="A6XX-"/>
 
 	<!-- TODO do these exist on A5xx? -->
-- 
2.17.1
Re: [PATCH] drm/msm: Fix spelling mistake "swtich" to "switch"
Posted by Rob Clark 1 week ago
The "upstream" for the gpu related .xml files is in mesa because they
are used by the usermode (gl/vk) drivers:

https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/freedreno/registers/adreno/adreno_pm4.xml?ref_type=heads#L573

Things should be fixed/changed there, otherwise the change will get
reverted/overridden the next time the xml files are sync'd from mesa.

BR,
-R

On Fri, Nov 15, 2024 at 1:40 AM Zhu Jun <zhujun2@cmss.chinamobile.com> wrote:
>
> There is a spelling mistake, Please fix it.
>
> Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
> ---
>  drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml b/drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml
> index cab01af55d22..d28fac3fb6a8 100644
> --- a/drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml
> +++ b/drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml
> @@ -563,7 +563,7 @@ xsi:schemaLocation="https://gitlab.freedesktop.org/freedreno/ rules-fd.xsd">
>         <value name="IN_IB_END" value="0x0a" variants="A6XX-"/>
>         <!-- handles IFPC save/restore -->
>         <value name="IN_GMU_INTERRUPT" value="0x0b" variants="A6XX-"/>
> -       <!-- preemption/context-swtich routine -->
> +       <!-- preemption/context-switch routine -->
>         <value name="IN_PREEMPT" value="0x0f" variants="A6XX-"/>
>
>         <!-- TODO do these exist on A5xx? -->
> --
> 2.17.1
>
>
>