]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: screen freeze and userq driver crash
authorArunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Fri, 25 Oct 2024 10:45:02 +0000 (16:15 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Apr 2025 20:48:16 +0000 (16:48 -0400)
commit2e65ea1ab2f6f3731aba373917d509216701cbe6
treed5d0bb138f0f7df9c26e1cff0f1081ed84ad3fb0
parent8493312a94f0cc29be09c200d3a934873ea33b29
drm/amdgpu: screen freeze and userq driver crash

Screen freeze and userq fence driver crash while playing Xonotic

v2: (Christian)
    - There is change that fence might signal in between testing
      and grabbing the lock. Hence we can move the lock above the
      if..else check and use the dma_fence_is_signaled_locked().

Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c