drm/xe: Reword exec_queue and vm lock doc
authorLucas De Marchi <lucas.demarchi@intel.com>
Mon, 4 Nov 2024 14:38:13 +0000 (06:38 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 5 Nov 2024 21:38:47 +0000 (13:38 -0800)
Reword documentation to possibly what it meant to be.

Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241104143815.2112272-4-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_device_types.h

index b9ea455..cb19323 100644 (file)
@@ -588,7 +588,7 @@ struct xe_file {
                /** @vm.xe: xarray to store VMs */
                struct xarray xa;
                /**
-                * @vm.lock: Protects VM lookup + reference and removal from
+                * @vm.lock: Protects VM lookup + reference and removal from
                 * file xarray. Not an intended to be an outer lock which does
                 * thing while being held.
                 */
@@ -601,8 +601,8 @@ struct xe_file {
                struct xarray xa;
                /**
                 * @exec_queue.lock: Protects exec queue lookup + reference and
-                * removal a frommfile xarray. Not an intended to be an outer
-                * lock which does thing while being held.
+                * removal from file xarray. Not intended to be an outer lock
+                * which does things while being held.
                 */
                struct mutex lock;
        } exec_queue;