[PATCH 06/11] drm/amdgpu:RUNTIME flag should clr later
Yu, Xiangliang
Xiangliang.Yu at amd.com
Thu Feb 9 01:47:10 UTC 2017
Reviewed-by: Xiangliang.Yu <Xiangliang.Yu>
> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
> Of Monk Liu
> Sent: Wednesday, February 08, 2017 5:27 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Liu, Monk <Monk.Liu at amd.com>
> Subject: [PATCH 06/11] drm/amdgpu:RUNTIME flag should clr later
>
> this flag will get cleared by request gpu access
>
> Change-Id: Ie484bb0141420055370e019dcd8c110fb34f8a1b
> Signed-off-by: Monk Liu <Monk.Liu at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c
> b/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c
> index 5f156d3..98cbcd9 100644
> --- a/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c
> +++ b/drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c
> @@ -505,9 +505,7 @@ static void xgpu_vi_mailbox_flr_work(struct
> work_struct *work)
> struct amdgpu_device *adev = container_of(virt, struct
> amdgpu_device, virt);
>
> /* wait until RCV_MSG become 3 */
> - if (!xgpu_vi_poll_msg(adev, IDH_FLR_NOTIFICATION_CMPL))
> - adev->virt.caps &= ~AMDGPU_SRIOV_CAPS_RUNTIME;
> - else {
> + if (xgpu_vi_poll_msg(adev, IDH_FLR_NOTIFICATION_CMPL)) {
> pr_err("failed to recieve FLR_CMPL\n");
> return;
> }
> --
> 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