drm/amdgpu: correct comment to clear up the confusion
Subsystems (2)
PATCH 1/1 drm/amdgpu: correct comment to clear up the confusion
Former comment looks to be one intended behavior in code, actually it's not. So correct it.
Suggested-by Christian König <[email protected]>
Signed-off-by Guchun Chen <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +6 -1
@@ -4374,7 +4374,12 @@ static int gfx_v9_0_ecc_late_init(void *handle)struct amdgpu_device *adev = (struct amdgpu_device *)handle;int r; -/* limit gds clearing operation in cold boot sequence */ +/* +* Temp workaround to fix the issue that CP firmware fails to +* update read pointer when CPDMA is writing clearing operation +* to GDS in suspend/resume sequence on several cards. So just +* limit this operation in cold boot sequence. +*/ if (!adev->in_suspend) { r =gfx_v9_0_do_edc_gds_workarounds (adev);if (r)
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Am 11.02.20 um 05:16 schrieb Guchun Chen:
Quoted 5 lines
Former comment looks to be one intended behavior in code, actually it's not. So correct it.
Suggested-by Christian König <[email protected]>Signed-off-by Guchun Chen <[email protected]>
Acked-by Christian König <[email protected]>
Quoted 12 lines
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +0
-0@@ -4374,7 +4374,12 @@ static int gfx_v9_0_ecc_late_init(void *handle)struct amdgpu_device *adev = (struct amdgpu_device *)handle;int r;
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c static int gfx_v9_0_ecc_late_init(void *handle) · line 4385
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +6
-1-/* limit gds clearing operation in cold boot sequence */ +/* +* Temp workaround to fix the issue that CP firmware fails to +* update read pointer when CPDMA is writing clearing operation +* to GDS in suspend/resume sequence on several cards. So just +* limit this operation in cold boot sequence. +*/ if (!adev->in_suspend) { r =gfx_v9_0_do_edc_gds_workarounds (adev);if (r)
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx