[PATCH 4/7] drm/amdgpu: Notify sbios device ready before send request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 27, 2018 at 6:27 AM, Rex Zhu <Rex.Zhu at amd.com> wrote:
> Change-Id: Id7f674c7faba8d51864353a3a7ea96ba471a60d8
> Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>

Please include a description of why this is needed as we discussed
offline in the patch description.  With that fixed:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  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
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux