Reviewed-by: Christian König <christian.koe...@amd.com> on patch #1 and #15.

Acked-by: Christian König <christian.koe...@amd.com> on patch #2 and #16.

Regards,
Christian.

Am 01.12.20 um 11:35 schrieb Thomas Zimmermann:
Adhere to kernel coding style.

Signed-off-by: Thomas Zimmermann <tzimmerm...@suse.de>
Acked-by: Alex Deucher <alexander.deuc...@amd.com>
Acked-by: Sam Ravnborg <s...@ravnborg.org>
Cc: Alex Deucher <alexander.deuc...@amd.com>
Cc: Christian König <christian.koe...@amd.com>
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 5f304425c948..da23c0f21311 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -4922,8 +4922,8 @@ pci_ers_result_t amdgpu_pci_error_detected(struct pci_dev 
*pdev, pci_channel_sta
        case pci_channel_io_normal:
                return PCI_ERS_RESULT_CAN_RECOVER;
        /* Fatal error, prepare for slot reset */
-       case pci_channel_io_frozen:             
-               /*              
+       case pci_channel_io_frozen:
+               /*
                 * Cancel and wait for all TDRs in progress if failing to
                 * set  adev->in_gpu_reset in amdgpu_device_lock_adev
                 *
@@ -5014,7 +5014,7 @@ pci_ers_result_t amdgpu_pci_slot_reset(struct pci_dev 
*pdev)
                goto out;
        }
- adev->in_pci_err_recovery = true;
+       adev->in_pci_err_recovery = true;
        r = amdgpu_device_pre_asic_reset(adev, NULL, &need_full_reset);
        adev->in_pci_err_recovery = false;
        if (r)

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to