diff mbox series

drm/msm: Fix spelling mistake "swtich" to "switch"

Message ID 20241115094045.7491-1-zhujun2@cmss.chinamobile.com (mailing list archive)
State Not Applicable
Headers show
Series drm/msm: Fix spelling mistake "swtich" to "switch" | expand

Commit Message

Zhu Jun Nov. 15, 2024, 9:40 a.m. UTC
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(-)

Comments

Rob Clark Nov. 15, 2024, 3:24 p.m. UTC | #1
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
>
>
>
diff mbox series

Patch

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? -->