diff options
| author | Andrey Grodzovsky <[email protected]> | 2021-05-21 20:41:21 +0000 |
|---|---|---|
| committer | Andrey Grodzovsky <[email protected]> | 2021-05-25 15:53:52 +0000 |
| commit | 7afefb81b72cbc35aea44ed741bc1e9ee915e4c9 (patch) | |
| tree | c242656d4297671c782714bf678657b0ec9a7ac0 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |
| parent | drm/ingenic: Add option to alloc cached GEM buffers (diff) | |
| download | kernel-7afefb81b72cbc35aea44ed741bc1e9ee915e4c9.tar.gz kernel-7afefb81b72cbc35aea44ed741bc1e9ee915e4c9.zip | |
drm/amdgpu: Rename flag which prevents HW access
Make it's name not feature but function descriptive.
Signed-off-by: Andrey Grodzovsky <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c index c111150bf6c2..3ff76cbaec8d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c @@ -234,7 +234,7 @@ int psp_wait_for(struct psp_context *psp, uint32_t reg_index, int i; struct amdgpu_device *adev = psp->adev; - if (psp->adev->in_pci_err_recovery) + if (psp->adev->no_hw_access) return 0; for (i = 0; i < adev->usec_timeout; i++) { @@ -263,7 +263,7 @@ psp_cmd_submit_buf(struct psp_context *psp, bool ras_intr = false; bool skip_unsupport = false; - if (psp->adev->in_pci_err_recovery) + if (psp->adev->no_hw_access) return 0; if (!drm_dev_enter(&psp->adev->ddev, &idx)) |
