RE: [PATCH] drm/amd: use drm_kms_helper_poll_fini in amdgpu_device_suspend to avoid warning

2023-02-26 Thread Chen, Guchun
i Sent: Friday, February 24, 2023 11:58 PM To: Chen, Guchun ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH] drm/amd: use drm_kms_helper_poll_fini in amdgpu_device_suspend to avoid warning Am Freitag, dem 24.02.2023 um 02:26 + schrieb Chen, Guchun: > > Hi Bert, > > >

Re: [PATCH] drm/amd: use drm_kms_helper_poll_fini in amdgpu_device_suspend to avoid warning

2023-02-24 Thread Bert Karwatzki
> Regards, > > Guchun > > > > -Original Message- > > From: amd-gfx On Behalf Of > > Bert Karwatzki > > Sent: Friday, February 24, 2023 4:52 AM > > To: amd-gfx@lists.freedesktop.org > > Subject: Re: [PATCH] drm/amd: use drm_kms_helper_poll

Re: [PATCH] drm/amd: use drm_kms_helper_poll_fini in amdgpu_device_suspend to avoid warning

2023-02-24 Thread Bert Karwatzki
> Regards, > > Guchun > > > > -Original Message- > > From: amd-gfx On Behalf Of > > Bert Karwatzki > > Sent: Friday, February 24, 2023 4:52 AM > > To: amd-gfx@lists.freedesktop.org > > Subject: Re: [PATCH] drm/amd: use drm_kms_helper_poll

RE: [PATCH] drm/amd: use drm_kms_helper_poll_fini in amdgpu_device_suspend to avoid warning

2023-02-23 Thread Chen, Guchun
/amd: use drm_kms_helper_poll_fini in amdgpu_device_suspend to avoid warning When drm_kms_helper_poll_disable is used in amdgpu_device_suspend without drm_kms_helper_poll_init having been called it causes a warning in __flush_work: https://gitlab.freedesktop.org/drm/amd/-/issues/2411 To avoid

Re: [PATCH] drm/amd: use drm_kms_helper_poll_fini in amdgpu_device_suspend to avoid warning

2023-02-23 Thread Bert Karwatzki
When drm_kms_helper_poll_disable is used in amdgpu_device_suspend without drm_kms_helper_poll_init having been called it causes a warning in __flush_work: https://gitlab.freedesktop.org/drm/amd/-/issues/2411 To avoid this one can use drm_kms_helper_poll_fini instead: Send a second time because