summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>2015-02-24 15:20:41 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-03-10 19:21:18 +0000
commitc8168fe5b8e4c448976a79d5b00d10e31e304cf5 (patch)
tree3000ba78727ed84539ab4cb6823f9c15e8f28178
parent1d7e78d7877f054f7b96d6a35d50255e76aed44f (diff)
tests/exynos: fix typos and change wording
No functional changes. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Tested-by: Joonyoung Shim <jy0922.shim@samsung.com>
-rw-r--r--exynos/exynos_fimg2d.c8
-rw-r--r--tests/exynos/exynos_fimg2d_test.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/exynos/exynos_fimg2d.c b/exynos/exynos_fimg2d.c
index 9c66c3ab..df18a089 100644
--- a/exynos/exynos_fimg2d.c
+++ b/exynos/exynos_fimg2d.c
@@ -148,13 +148,13 @@ static void g2d_reset(struct g2d_context *ctx)
}
/*
- * g2d_flush - summit all commands and values in user side command buffer
+ * g2d_flush - submit all commands and values in user side command buffer
* to command queue aware of fimg2d dma.
*
* @ctx: a pointer to g2d_context structure.
*
* This function should be called after all commands and values to user
- * side command buffer is set to summit that buffer to kernel side driver.
+ * side command buffer are set. It submits that buffer to the kernel side driver.
*/
static int g2d_flush(struct g2d_context *ctx)
{
@@ -195,7 +195,7 @@ static int g2d_flush(struct g2d_context *ctx)
/**
* g2d_init - create a new g2d context and get hardware version.
*
- * fd: a file descriptor to drm device driver opened.
+ * fd: a file descriptor to an opened drm device.
*/
drm_public struct g2d_context *g2d_init(int fd)
{
@@ -527,7 +527,7 @@ g2d_copy_with_scale(struct g2d_context *ctx, struct g2d_image *src,
}
/**
- * g2d_blend - blend image data in source and destion buffers
+ * g2d_blend - blend image data in source and destination buffers.
*
* @ctx: a pointer to g2d_context structure.
* @src: a pointer to g2d_image structure including image and buffer
diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c
index 17e8e53a..7ab09a5b 100644
--- a/tests/exynos/exynos_fimg2d_test.c
+++ b/tests/exynos/exynos_fimg2d_test.c
@@ -41,7 +41,7 @@ static unsigned int screen_width, screen_height;
/*
* A structure to test fimg2d hw.
*
- * @solid_fild: fill given color data to source buffer.
+ * @solid_fill: fill given color data to source buffer.
* @copy: copy source to destination buffer.
* @copy_with_scale: copy source to destination buffer scaling up or
* down properly.
@@ -228,7 +228,7 @@ static int g2d_solid_fill_test(struct exynos_device *dev, struct exynos_bo *dst)
memset(&img, 0, sizeof(struct g2d_image));
img.bo[0] = dst->handle;
- printf("soild fill test.\n");
+ printf("solid fill test.\n");
srand(time(NULL));
img_w = screen_width;