summaryrefslogtreecommitdiff
path: root/tests/amdgpu
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@intel.com>2018-12-19 14:55:45 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2019-04-17 18:23:25 +0100
commit360292c7ab527c48ba023103e10a4f6db7ecc2a5 (patch)
treea0020ffe93ff9094bacf4602752e2da477868175 /tests/amdgpu
parentad8bec1ed86158df374ea99bd6e73c5aa7bb089f (diff)
downloadlibdrm-360292c7ab527c48ba023103e10a4f6db7ecc2a5.tar.gz
libdrm-360292c7ab527c48ba023103e10a4f6db7ecc2a5.tar.bz2
libdrm-360292c7ab527c48ba023103e10a4f6db7ecc2a5.zip
fix various typos
Saw a couple of typos fixes in the patch DragonFlyBSD carries [1], so I ran codespell (a spell checker for code) on the whole repo. [1] https://github.com/DragonFlyBSD/DPorts/blob/master/graphics/libdrm/files/patch-xf86drm.c Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'tests/amdgpu')
-rw-r--r--tests/amdgpu/amdgpu_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/amdgpu/amdgpu_test.c b/tests/amdgpu/amdgpu_test.c
index 8fc7a0b9..35c8bf6c 100644
--- a/tests/amdgpu/amdgpu_test.c
+++ b/tests/amdgpu/amdgpu_test.c
@@ -245,7 +245,7 @@ static const char usage[] =
static const char options[] = "hlrps:t:b:d:f";
/* Open AMD devices.
- * Return the number of AMD device openned.
+ * Return the number of AMD device opened.
*/
static int amdgpu_open_devices(int open_render_node)
{
@@ -333,7 +333,7 @@ static void amdgpu_print_devices()
int i;
drmDevicePtr device;
- /* Open the first AMD devcie to print driver information. */
+ /* Open the first AMD device to print driver information. */
if (drm_amdgpu[0] >=0) {
/* Display AMD driver version information.*/
drmVersionPtr retval = drmGetVersion(drm_amdgpu[0]);