linux-stable/drivers/gpu/drm/imx
Fabio Estevam 14d9a37c95 Revert "drm/imx: Annotate dma-fence critical section in commit path"
This reverts commit f4b34faa08.

Since commit f4b34faa08 ("drm/imx: Annotate dma-fence critical section in
commit path") the following possible circular dependency is detected:

[    5.001811] ======================================================
[    5.001817] WARNING: possible circular locking dependency detected
[    5.001824] 5.14.9-01225-g45da36cc6fcc-dirty #1 Tainted: G        W
[    5.001833] ------------------------------------------------------
[    5.001838] kworker/u8:0/7 is trying to acquire lock:
[    5.001848] c1752080 (regulator_list_mutex){+.+.}-{3:3}, at: regulator_lock_dependent+0x40/0x294
[    5.001903]
[    5.001903] but task is already holding lock:
[    5.001909] c176df78 (dma_fence_map){++++}-{0:0}, at: imx_drm_atomic_commit_tail+0x10/0x160
[    5.001957]
[    5.001957] which lock already depends on the new lock.
...

Revert it for now.

Tested on a imx6q-sabresd.

Fixes: f4b34faa08 ("drm/imx: Annotate dma-fence critical section in commit path")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20211104001112.4035691-1-festevam@gmail.com
2021-11-05 19:08:44 +01:00
..
dcss drm/bridge: Centralize error message when bridge attach fails 2021-07-28 16:33:12 +03:00
dw_hdmi-imx.c drm/imx: dw_hdmi-imx: use drm managed resources 2021-01-04 12:59:33 +01:00
imx-drm-core.c Revert "drm/imx: Annotate dma-fence critical section in commit path" 2021-11-05 19:08:44 +01:00
imx-drm.h drm/imx: Use simple encoder 2020-04-02 14:16:44 +02:00
imx-ldb.c drm/bridge: Centralize error message when bridge attach fails 2021-07-28 16:33:12 +03:00
imx-tve.c drm/imx: imx-tve: use drm managed resources 2021-01-04 12:59:33 +01:00
ipuv3-crtc.c drm/imx: Add 8 pixel alignment fix 2021-05-10 16:39:54 +02:00
ipuv3-plane.c drm for v5.15-rc1 2021-09-01 11:26:46 -07:00
ipuv3-plane.h drm/imx: ipuv3-plane: use drm managed resources 2021-01-04 12:59:34 +01:00
Kconfig drm/imx: dw_hdmi-imx: depend on OF to fix randconfig compile tests on x86_64 2021-01-07 11:54:21 +01:00
Makefile drm/imx: Add initial support for DCSS on iMX8MQ 2020-09-09 16:39:48 +02:00
parallel-display.c drm/bridge: Centralize error message when bridge attach fails 2021-07-28 16:33:12 +03:00