Files
i2som-imx-linux/drivers/gpu
Liu Ying e72359e930 MLK-24168 drm/imx: dpu: kms: Avoid -EDEADLK warning when getting crtc_state in ->atomic_check
The crtc_states could be got concurrently if multiple atomic checks
happen simultaneously, so ERR_PTR(-EDEADLK) could be returned from
drm_atomic_get_crtc_state().  In such normal cases, we just rollback
all added drm objects and userspace could try the same atomic check
or commit again, so it's unnecessary to warn.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Sandor Yu <sandor.yu@nxp.com>
2020-05-27 12:48:06 +08:00
..