Re: [PATCH] Revert "drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega"

From: Greg KH
Date: Tue Oct 18 2022 - 02:52:58 EST


On Mon, Oct 17, 2022 at 07:07:45PM -0600, Shuah Khan wrote:
> This reverts commit 9f55f36f749a7608eeef57d7d72991a9bd557341.
>
> This commit causes repeated WARN_ONs from
>
> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amd
> gpu_dm.c:7391 amdgpu_dm_atomic_commit_tail+0x23b9/0x2430 [amdgpu]
>
> dmesg fills up with the following messages and drm initialization takes
> a very long time.
>
> Cc: <stable@xxxxxxxxxxxxxxx> # 5.10
> Signed-off-by: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx>
> ---
> drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 5 -----
> drivers/gpu/drm/amd/amdgpu/soc15.c | 25 +++++++++++++++++++++++++
> 2 files changed, 25 insertions(+), 5 deletions(-)

Both reverts now queued up, thanks.

greg k-h