@@ -398,7 +398,7 @@ gen8_emit_state_base_address(struct intel_batchbuffer *batch)
OUT_BATCH(1 << 12 | 1);
/* indirect object buffer size */
OUT_BATCH(0xfffff000 | 1);
- /* intruction buffer size, must set modify enable bit, otherwise it may result in GPU hang */
+ /* instruction buffer size, must set modify enable bit, otherwise it may result in GPU hang */
OUT_BATCH(1 << 12 | 1);
}
@@ -434,7 +434,7 @@ gen9_emit_state_base_address(struct intel_batchbuffer *batch)
OUT_BATCH(1 << 12 | 1);
/* indirect object buffer size */
OUT_BATCH(0xfffff000 | 1);
- /* intruction buffer size, must set modify enable bit, otherwise it may result in GPU hang */
+ /* instruction buffer size, must set modify enable bit, otherwise it may result in GPU hang */
OUT_BATCH(1 << 12 | 1);
/* Bindless surface state base address */
@@ -71,7 +71,7 @@ void igt_cleanup_aperture_trashers(void);
void igt_system_suspend_autoresume(void);
void igt_system_hibernate_autoresume(void);
-/* dropping priviledges */
+/* dropping privileges */
void igt_drop_root(void);
void igt_debug_wait_for_keypress(const char *var);
@@ -449,7 +449,7 @@ void __igt_fixture_end(void)
* running on Android they are sometimes killed by the Android low memory killer.
* This seems to be due to some incompatibility between the kswapd free memory
* targets and the way the lowmemorykiller assesses free memory.
- * The low memory killer really isn't usefull in this context and has no
+ * The low memory killer really isn't useful in this context and has no
* interaction with the gpu driver that we are testing, so the following
* function is used to disable it by modifying one of its module parameters.
* We still have the normal linux oom killer to protect the kernel.
@@ -490,7 +490,7 @@ static void low_mem_killer_disable(bool disable)
igt_assert(adj_scores_len > 0);
/* writing 9999 to this module parameter effectively diables the
- * low memory killer. This is not a real file, so we dont need to
+ * low memory killer. This is not a real file, so we don't need to
* seek to the start or truncate it */
igt_assert_eq(write(fd, no_lowmem_killer, sizeof(no_lowmem_killer)),
sizeof(no_lowmem_killer));
@@ -1645,7 +1645,7 @@ void igt_install_exit_handler(igt_exit_handler_t fn)
igt_assert_f(0, "failed to install the signal handler\n");
}
-/* simulation enviroment support */
+/* simulation environment support */
/**
* igt_run_in_simulation:
@@ -768,7 +768,7 @@ extern enum igt_log_level igt_log_level;
*/
#define igt_warn_on(condition) do {\
if (condition) \
- igt_warn("Warning on condition %s in fucntion %s, file %s:%i\n", \
+ igt_warn("Warning on condition %s in function %s, file %s:%i\n", \
#condition, __func__, __FILE__, __LINE__); \
} while (0)
@@ -790,7 +790,7 @@ extern enum igt_log_level igt_log_level;
*/
#define igt_warn_on_f(condition, f...) do {\
if (condition) {\
- igt_warn("Warning on condition %s in fucntion %s, file %s:%i\n", \
+ igt_warn("Warning on condition %s in function %s, file %s:%i\n", \
#condition, __func__, __FILE__, __LINE__); \
igt_warn(f); \
} \
@@ -246,7 +246,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* not sure they refer to local (graphics) memory.
*
* These details are for the local memory control registers,
- * (pp301-310). The test machines are not equiped with local memory,
+ * (pp301-310). The test machines are not equipped with local memory,
* so nothing is tested. Only a single row seems to be supported.
*/
#define DRAM_ROW_TYPE 0x3000
@@ -385,7 +385,7 @@ void gem_set_domain(int fd, uint32_t handle,
* @handle: gem buffer object handle
* @timeout_ns: [in] time to wait, [out] remaining time (in nanoseconds)
*
- * This functions waits for outstanding rendering to complete, upto
+ * This functions waits for outstanding rendering to complete, up to
* the timeout_ns. If no timeout_ns is provided, the wait is indefinite and
* only returns upon an error or when the rendering is complete.
*/
@@ -223,7 +223,7 @@ gen8_emit_state_base_address(struct intel_batchbuffer *batch)
OUT_BATCH(1 << 12 | 1);
/* indirect object buffer size */
OUT_BATCH(0xfffff000 | 1);
- /* intruction buffer size, must set modify enable bit, otherwise it may result in GPU hang */
+ /* instruction buffer size, must set modify enable bit, otherwise it may result in GPU hang */
OUT_BATCH(1 << 12 | 1);
}
@@ -223,7 +223,7 @@ gen8_emit_state_base_address(struct intel_batchbuffer *batch)
OUT_BATCH(1 << 12 | 1);
/* indirect object buffer size */
OUT_BATCH(0xfffff000 | 1);
- /* intruction buffer size, must set modify enable bit, otherwise it may result in GPU hang */
+ /* instruction buffer size, must set modify enable bit, otherwise it may result in GPU hang */
OUT_BATCH(1 << 12 | 1);
}
@@ -223,7 +223,7 @@ gen9_emit_state_base_address(struct intel_batchbuffer *batch)
OUT_BATCH(1 << 12 | 1);
/* indirect object buffer size */
OUT_BATCH(0xfffff000 | 1);
- /* intruction buffer size, must set modify enable bit, otherwise it may result in GPU hang */
+ /* instruction buffer size, must set modify enable bit, otherwise it may result in GPU hang */
OUT_BATCH(1 << 12 | 1);
/* Bindless surface state base address */
@@ -249,7 +249,7 @@ gen8_emit_state_base_address(struct intel_batchbuffer *batch)
OUT_BATCH(1 << 12 | 1);
/* indirect object buffer size */
OUT_BATCH(0xfffff000 | 1);
- /* intruction buffer size, must set modify enable bit, otherwise it may result in GPU hang */
+ /* instruction buffer size, must set modify enable bit, otherwise it may result in GPU hang */
OUT_BATCH(1 << 12 | 1);
}
@@ -285,7 +285,7 @@ gen9_emit_state_base_address(struct intel_batchbuffer *batch)
OUT_BATCH(1 << 12 | 1);
/* indirect object buffer size */
OUT_BATCH(0xfffff000 | 1);
- /* intruction buffer size, must set modify enable bit, otherwise it may result in GPU hang */
+ /* instruction buffer size, must set modify enable bit, otherwise it may result in GPU hang */
OUT_BATCH(1 << 12 | 1);
/* Bindless surface state base address */
@@ -552,7 +552,7 @@ gen8_emit_state_base_address(struct intel_batchbuffer *batch) {
OUT_BATCH(1 << 12 | 1);
/* indirect object buffer size */
OUT_BATCH(0xfffff000 | 1);
- /* intruction buffer size */
+ /* instruction buffer size */
OUT_BATCH(1 << 12 | 1);
}
@@ -513,7 +513,7 @@ static void
gen9_emit_state_base_address(struct intel_batchbuffer *batch) {
/* WaBindlessSurfaceStateModifyEnable:skl,bxt */
- /* The length has to be one less if we dont modify
+ /* The length has to be one less if we don't modify
bindless state */
OUT_BATCH(GEN6_STATE_BASE_ADDRESS | (19 - 1 - 2));
@@ -544,7 +544,7 @@ gen9_emit_state_base_address(struct intel_batchbuffer *batch) {
OUT_BATCH(1 << 12 | 1);
/* indirect object buffer size */
OUT_BATCH(0xfffff000 | 1);
- /* intruction buffer size */
+ /* instruction buffer size */
OUT_BATCH(1 << 12 | 1);
/* Bindless surface state base address */
@@ -31,7 +31,7 @@
* 1. Test a crashing simple test is reported.
* 2. Test a crashing subtest is reported.
* 3. Test a crashing subtest following a passing subtest is reported.
- * 4. Test a crashing subtest preceeding a passing subtest is reported.
+ * 4. Test a crashing subtest preceding a passing subtest is reported.
*/
#include <signal.h>
@@ -131,7 +131,7 @@ int main(int argc, char **argv)
fflush(stdout);
internal_assert(do_fork() == SIGSEGV + 128);
- /* Test crash in a subtest preceeding a pass is reported */
+ /* Test crash in a subtest preceding a pass is reported */
simple = false;
runa=false;
runc=true;
Signed-off-by: Eric Engestrom <eric@engestrom.ch> --- lib/gpgpu_fill.c | 4 ++-- lib/igt_aux.h | 2 +- lib/igt_core.c | 6 +++--- lib/igt_core.h | 4 ++-- lib/intel_reg.h | 2 +- lib/ioctl_wrappers.c | 2 +- lib/media_fill_gen8.c | 2 +- lib/media_fill_gen8lp.c | 2 +- lib/media_fill_gen9.c | 2 +- lib/media_spin.c | 4 ++-- lib/rendercopy_gen8.c | 2 +- lib/rendercopy_gen9.c | 4 ++-- lib/tests/igt_segfault.c | 4 ++-- 13 files changed, 20 insertions(+), 20 deletions(-)