aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorAlex Xie <AlexBin.Xie@amd.com>2017-06-20 16:33:02 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-06-29 12:43:50 -0400
commit9f69c0fd4d581ff03d7b3123cd1324f7492627a8 (patch)
tree18ce0cda7e1a2d757e51d55aeedb6751027efede /drivers/gpu/drm/amd/amdgpu
parentdbfe85ea496728ccf7731601084853f760be77d7 (diff)
drm/amdgpu/cs: fix a typo in a comment
Signed-off-by: Alex Xie <AlexBin.Xie@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
index aeee6840e82b..144b251bd7c8 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
@@ -497,7 +497,7 @@ static int amdgpu_cs_parser_bos(struct amdgpu_cs_parser *p,
497 &e->user_invalidated) && e->user_pages) { 497 &e->user_invalidated) && e->user_pages) {
498 498
499 /* We acquired a page array, but somebody 499 /* We acquired a page array, but somebody
500 * invalidated it. Free it an try again 500 * invalidated it. Free it and try again
501 */ 501 */
502 release_pages(e->user_pages, 502 release_pages(e->user_pages,
503 e->robj->tbo.ttm->num_pages, 503 e->robj->tbo.ttm->num_pages,