History

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.

Randy Dunlap committed 2 years ago

Commit afa5cf31 parent ac3420d1 file · +6 −6Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/drm/i915_drm.h+6−6
@@ -693,7 +693,7 @@ typedef struct drm_i915_irq_wait { · 692 unmodified lines
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 { · 906 unmodified lines
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 { · 202 unmodified lines
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 { · 1424 unmodified lines
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 { · 3 unmodified lines
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 { · 23 unmodified lines
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. */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t