[Bug][5.18-rc0] Between commits ed4643521e6a and 34af78c4e616, appears warning "WARNING: CPU: 31 PID: 51848 at drivers/dma-buf/dma-fence-array.c:191 dma_fence_array_create+0x101/0x120" and some games stopped working.

Christian König christian.koenig at amd.com
Fri Apr 8 14:27:19 UTC 2022


Am 08.04.22 um 14:24 schrieb Mikhail Gavrilov:
> On Fri, 8 Apr 2022 at 16:13, Christian König <christian.koenig at amd.com> wrote:
>
>> I own you a beer.
>>
>> I still don't know what happens here, but that makes at least a bit more
>> sense than a patch which only changes comments :)
>>
>> Looks like we are missing something here. Can I send you a patch to try
>> something later today?
> Yes, please feel free to send me a patch for testing.
>

Please test the attached patch, it just re-introduce the lock without 
doing much else.

And does your branch contain the following patch:

commit d18b8eadd83e3d8d63a45f9479478640dbcfca02
Author: Christian König <christian.koenig at amd.com>
Date:   Wed Feb 23 14:35:31 2022 +0100

     drm/amdgpu: install ctx entities with cmpxchg

     Since we removed the context lock we need to make sure that not two 
threads
     are trying to install an entity at the same time.

     Signed-off-by: Christian König <christian.koenig at amd.com>
     Fixes: 461fa7b0ac565e ("drm/amdgpu: remove ctx->lock")
     Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>
     Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Thanks,
Christian.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-drm-amdgpu-partial-revert-remove-ctx-lock.patch
Type: text/x-patch
Size: 2754 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20220408/dfdf739a/attachment-0001.bin>


More information about the amd-gfx mailing list