Skip to content

Commit afa5cf3

Browse files
rddunlaptursulin
authored andcommitted
drm/i915/uapi: fix typos/spellos and punctuation
Use "its" for possessive form instead of "it's". Hyphenate multi-word adjectives. Correct some spelling. End one line of code with ';' instead of ','. The before and after object files are identical. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Jani Nikula <jani.nikula@linux.intel.com> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Cc: intel-gfx@lists.freedesktop.org Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231213044014.21410-1-rdunlap@infradead.org
1 parent ac3420d commit afa5cf3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

include/uapi/drm/i915_drm.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ typedef struct drm_i915_irq_wait {
693693
#define I915_PARAM_HAS_EXEC_FENCE 44
694694

695695
/* Query whether DRM_I915_GEM_EXECBUFFER2 supports the ability to capture
696-
* user specified bufffers for post-mortem debugging of GPU hangs. See
696+
* user-specified buffers for post-mortem debugging of GPU hangs. See
697697
* EXEC_OBJECT_CAPTURE.
698698
*/
699699
#define I915_PARAM_HAS_EXEC_CAPTURE 45
@@ -1606,7 +1606,7 @@ struct drm_i915_gem_busy {
16061606
* is accurate.
16071607
*
16081608
* The returned dword is split into two fields to indicate both
1609-
* the engine classess on which the object is being read, and the
1609+
* the engine classes on which the object is being read, and the
16101610
* engine class on which it is currently being written (if any).
16111611
*
16121612
* The low word (bits 0:15) indicate if the object is being written
@@ -1815,7 +1815,7 @@ struct drm_i915_gem_madvise {
18151815
__u32 handle;
18161816

18171817
/* Advice: either the buffer will be needed again in the near future,
1818-
* or wont be and could be discarded under memory pressure.
1818+
* or won't be and could be discarded under memory pressure.
18191819
*/
18201820
__u32 madv;
18211821

@@ -3246,7 +3246,7 @@ struct drm_i915_query_topology_info {
32463246
* // enough to hold our array of engines. The kernel will fill out the
32473247
* // item.length for us, which is the number of bytes we need.
32483248
* //
3249-
* // Alternatively a large buffer can be allocated straight away enabling
3249+
* // Alternatively a large buffer can be allocated straightaway enabling
32503250
* // querying in one pass, in which case item.length should contain the
32513251
* // length of the provided buffer.
32523252
* err = ioctl(fd, DRM_IOCTL_I915_QUERY, &query);
@@ -3256,7 +3256,7 @@ struct drm_i915_query_topology_info {
32563256
* // Now that we allocated the required number of bytes, we call the ioctl
32573257
* // again, this time with the data_ptr pointing to our newly allocated
32583258
* // blob, which the kernel can then populate with info on all engines.
3259-
* item.data_ptr = (uintptr_t)&info,
3259+
* item.data_ptr = (uintptr_t)&info;
32603260
*
32613261
* err = ioctl(fd, DRM_IOCTL_I915_QUERY, &query);
32623262
* if (err) ...
@@ -3286,7 +3286,7 @@ struct drm_i915_query_topology_info {
32863286
/**
32873287
* struct drm_i915_engine_info
32883288
*
3289-
* Describes one engine and it's capabilities as known to the driver.
3289+
* Describes one engine and its capabilities as known to the driver.
32903290
*/
32913291
struct drm_i915_engine_info {
32923292
/** @engine: Engine class and instance. */

0 commit comments

Comments
 (0)