On Tue, Feb 27, 2018 at 6:27 AM, Rex Zhu <[email protected]> wrote:
> Change-Id: Id7f674c7faba8d51864353a3a7ea96ba471a60d8
> Signed-off-by: Rex Zhu <[email protected]>

Please include a description of why this is needed as we discussed
offline in the patch description.  With that fixed:
Reviewed-by: Alex Deucher <[email protected]>

> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
> index 57afad7..8fa850a 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
> @@ -540,6 +540,9 @@ int amdgpu_acpi_pcie_performance_request(struct 
> amdgpu_device *adev,
>         size_t size;
>         u32 retry = 3;
>
> +       if (amdgpu_acpi_pcie_notify_device_ready(adev))
> +               return -EINVAL;
> +
>         /* Get the device handle */
>         handle = ACPI_HANDLE(&adev->pdev->dev);
>         if (!handle)
> --
> 1.9.1
>
> _______________________________________________
> amd-gfx mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to