]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsc: Fix the deadlock in dsc debugfs node
authorManasi Navare <manasi.d.navare@intel.com>
Wed, 19 Dec 2018 23:51:20 +0000 (15:51 -0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 20 Dec 2018 08:02:33 +0000 (08:02 +0000)
commit5c23161d3b90ffdb0ce16ddc698e7aa9fd790331
tree2a1aa8ed05c66de6f9d57f483f72d51fa0fb3f6e
parentcbb071312fe5d6f3587838806d6c4d271002d142
drm/i915/dsc: Fix the deadlock in dsc debugfs node

The DSC debugfs node causes a possible deadlock situation. This patch
resets the try_again at the beginning of loop to fix this.

Fixes: 64976d9eb6c3 ('drm/i915/dsc: Add Per connector debugfs node for DSC support/enable')
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109097
Cc: Lyude Paul <lyude@redhat.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20181219235120.21816-1-manasi.d.navare@intel.com
drivers/gpu/drm/i915/i915_debugfs.c