[PATCH 3/3] drm/amdgpu:fix typo

Alex Deucher alexdeucher at gmail.com
Tue Sep 19 14:25:45 UTC 2017


On Tue, Sep 19, 2017 at 2:41 AM, Monk Liu <Monk.Liu at amd.com> wrote:
> previously a patch has typo error, correct it

Please squash this into the previous broken patch before committing it.

Alex

>
> Change-Id: I91bcefd7148b5db1c7d957c868e13a46ca40ef74
> Signed-off-by: Monk Liu <Monk.Liu at amd.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> index 4eee2ef..35cc5ee 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
> @@ -256,7 +256,7 @@ static int psp_hw_start(struct psp_context *psp)
>         struct amdgpu_device *adev = psp->adev;
>         int ret;
>
> -       if (amdgpu_sriov_vf(adev) && !adev->in_sriov_reset) {
> +       if (!amdgpu_sriov_vf(adev) || !adev->in_sriov_reset) {
>                 ret = psp_bootloader_load_sysdrv(psp);
>                 if (ret)
>                         return ret;
> --
> 2.7.4
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list