No, I mean during GPU reset, the app will fail, it is reasonable. The flag 
in_gpu_reset indicates the GPU is in reset state, after reset, we will set the 
flag back.

Best Wishes,
Emily Deng

> -----Original Message-----
> From: Michel Dänzer [mailto:[email protected]]
> Sent: Friday, April 27, 2018 3:52 PM
> To: Deng, Emily <[email protected]>; Liu, Monk <[email protected]>
> Cc: [email protected]
> Subject: Re: [PATCH] drm/amdgpu/sriov: reject kms open if TDR not finished
> or failed
> 
> On 2018-04-27 07:29 AM, Deng, Emily wrote:
> > Sorry, I don't get your point, when the GPU is doing a reset, even let
> > the dkms open, the userspace will still fail, so during the reset, any
> > driver open kms is meaningless.
> 
> That needs to be fixed, then. If the GPU reset succeeds, userspace shouldn't
> have to fail.
> 
> 
> --
> Earthling Michel Dänzer               |               http://www.amd.com
> Libre software enthusiast             |             Mesa and X developer
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to