c: amd-gfx@lists.freedesktop.org ; Lakha,
Bhawanpreet
Subject: RE: [PATCH] drm/amd/display: Fix deadlock during gpu reset v2
[AMD Public Use]
When using dc_allow_idle_optimizations, should it be guarded by
CONFIG_DRM_AMD_DC_DCN?
Regards,
Guchun
-Original Message-
From: Bhawanpreet L
c: amd-gfx@lists.freedesktop.org ; Lakha,
Bhawanpreet
Subject: RE: [PATCH] drm/amd/display: Fix deadlock during gpu reset v2
[AMD Public Use]
When using dc_allow_idle_optimizations, should it be guarded by
CONFIG_DRM_AMD_DC_DCN?
Regards,
Guchun
-Original Message-
From: Bhawanpreet Lakha
Sent: Tuesday,
@lists.freedesktop.org; Lakha, Bhawanpreet
Subject: [PATCH] drm/amd/display: Fix deadlock during gpu reset v2
[Why]
during idle optimizations we acquire the dc_lock, this lock is also acquired
during gpu_reset so we end up hanging the system due to a deadlock
[How]
If we are in gpu reset:
- disable
[Why]
during idle optimizations we acquire the dc_lock, this lock is also
acquired during gpu_reset so we end up hanging the system due to a
deadlock
[How]
If we are in gpu reset:
- disable idle optimizations and skip calls to the dc function
v2: skip idle optimizations calls
Fixes: 06d5652541c