diff options
author | Alex Xie <AlexBin.Xie@amd.com> | 2017-05-08 13:41:11 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-05-24 17:40:30 -0400 |
commit | ea81a173ff2d4ac2807d016715cdc89c1656b20e (patch) | |
tree | a7cf2d0499e0727465ead378e248a37e7ac1f78a /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 67fb56a6dde9bddd3a57614607af255bbb732118 (diff) |
drm/amdgpu: fix errors in comments.
Signed-off-by: Alex Xie <AlexBin.Xie@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 9a7c0e4d9cc3..4ca5af0e2bc6 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |||
@@ -480,9 +480,8 @@ void amdgpu_doorbell_get_kfd_info(struct amdgpu_device *adev, | |||
480 | 480 | ||
481 | /* | 481 | /* |
482 | * amdgpu_wb_*() | 482 | * amdgpu_wb_*() |
483 | * Writeback is the the method by which the the GPU updates special pages | 483 | * Writeback is the method by which GPU updates special pages in memory |
484 | * in memory with the status of certain GPU events (fences, ring pointers, | 484 | * with the status of certain GPU events (fences, ring pointers,etc.). |
485 | * etc.). | ||
486 | */ | 485 | */ |
487 | 486 | ||
488 | /** | 487 | /** |
@@ -508,7 +507,7 @@ static void amdgpu_wb_fini(struct amdgpu_device *adev) | |||
508 | * | 507 | * |
509 | * @adev: amdgpu_device pointer | 508 | * @adev: amdgpu_device pointer |
510 | * | 509 | * |
511 | * Disables Writeback and frees the Writeback memory (all asics). | 510 | * Initialize writeback and allocates writeback memory (all asics). |
512 | * Used at driver startup. | 511 | * Used at driver startup. |
513 | * Returns 0 on success or an -error on failure. | 512 | * Returns 0 on success or an -error on failure. |
514 | */ | 513 | */ |