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
693#define I915_PARAM_HAS_EXEC_FENCE 44693#define I915_PARAM_HAS_EXEC_FENCE 44
694 694
695/* Query whether DRM_I915_GEM_EXECBUFFER2 supports the ability to capture695/* Query whether DRM_I915_GEM_EXECBUFFER2 supports the ability to capture
696 * user specified bufffers for post-mortem debugging of GPU hangs. See696 * user-specified buffers for post-mortem debugging of GPU hangs. See
697 * EXEC_OBJECT_CAPTURE.697 * EXEC_OBJECT_CAPTURE.
698 */698 */
699#define I915_PARAM_HAS_EXEC_CAPTURE 45699#define I915_PARAM_HAS_EXEC_CAPTURE 45
@@ -1606,7 +1606,7 @@ struct drm_i915_gem_busy { · 906 unmodified lines
1606 * is accurate.1606 * is accurate.
1607 *1607 *
1608 * The returned dword is split into two fields to indicate both1608 * The returned dword is split into two fields to indicate both
1609 * the engine classess on which the object is being read, and the1609 * the engine classes on which the object is being read, and the
1610 * engine class on which it is currently being written (if any).1610 * engine class on which it is currently being written (if any).
1611 *1611 *
1612 * The low word (bits 0:15) indicate if the object is being written1612 * 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
1815 __u32 handle;1815 __u32 handle;
1816 1816
1817 /* Advice: either the buffer will be needed again in the near future,1817 /* 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.
1819 */1819 */
1820 __u32 madv;1820 __u32 madv;
1821 1821
@@ -3246,7 +3246,7 @@ struct drm_i915_query_topology_info { · 1424 unmodified lines
3246 * // enough to hold our array of engines. The kernel will fill out the3246 * // enough to hold our array of engines. The kernel will fill out the
3247 * // item.length for us, which is the number of bytes we need.3247 * // item.length for us, which is the number of bytes we need.
3248 * //3248 * //
3249 * // Alternatively a large buffer can be allocated straight away enabling3249 * // Alternatively a large buffer can be allocated straightaway enabling
3250 * // querying in one pass, in which case item.length should contain the3250 * // querying in one pass, in which case item.length should contain the
3251 * // length of the provided buffer.3251 * // length of the provided buffer.
3252 * err = ioctl(fd, DRM_IOCTL_I915_QUERY, &query);3252 * err = ioctl(fd, DRM_IOCTL_I915_QUERY, &query);
@@ -3256,7 +3256,7 @@ struct drm_i915_query_topology_info { · 3 unmodified lines
3256 * // Now that we allocated the required number of bytes, we call the ioctl3256 * // Now that we allocated the required number of bytes, we call the ioctl
3257 * // again, this time with the data_ptr pointing to our newly allocated3257 * // again, this time with the data_ptr pointing to our newly allocated
3258 * // blob, which the kernel can then populate with info on all engines.3258 * // 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;
3260 *3260 *
3261 * err = ioctl(fd, DRM_IOCTL_I915_QUERY, &query);3261 * err = ioctl(fd, DRM_IOCTL_I915_QUERY, &query);
3262 * if (err) ...3262 * if (err) ...
@@ -3286,7 +3286,7 @@ struct drm_i915_query_topology_info { · 23 unmodified lines
3286/**3286/**
3287 * struct drm_i915_engine_info3287 * struct drm_i915_engine_info
3288 *3288 *
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.
3290 */3290 */
3291struct drm_i915_engine_info {3291struct drm_i915_engine_info {
3292 /** @engine: Engine class and instance. */3292 /** @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