summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_drv.c
diff options
context:
space:
mode:
authorEric Anholt2017-10-14 02:12:55 +0200
committerEric Anholt2017-10-19 22:20:09 +0200
commitaf0c8c10564aac5b6d67308129ec09c4ad5db476 (patch)
tree39407dbc8d0c72b2b190dbfa64822a4038e16e1d /drivers/gpu/drm/drm_drv.c
parentdrm/vc4: Add the DRM_IOCTL_VC4_GEM_MADVISE ioctl (diff)
downloadkernel-qcow2-linux-af0c8c10564aac5b6d67308129ec09c4ad5db476.tar.gz
kernel-qcow2-linux-af0c8c10564aac5b6d67308129ec09c4ad5db476.tar.xz
kernel-qcow2-linux-af0c8c10564aac5b6d67308129ec09c4ad5db476.zip
drm/vc4: Fix sleeps during the IRQ handler for DSI transactions.
VC4's DSI1 has a bug where the AXI connection is broken for 32-bit writes from the CPU, so we use the DMA engine to DMA 32-bit values into registers instead. That sleeps, so we can't do it from the top half. As a solution, use an interrupt thread so that all our writes happen when sleeping is is allowed. v2: Use IRQF_ONESHOT (suggested by Boris) v3: Style nitpicks. Signed-off-by: Eric Anholt <eric@anholt.net> Link: https://patchwork.freedesktop.org/patch/msgid/20171014001255.32005-1-eric@anholt.net Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com> (v2)
Diffstat (limited to 'drivers/gpu/drm/drm_drv.c')
0 files changed, 0 insertions, 0 deletions