diff options
author | Val Packett <[email protected]> | 2024-06-24 17:40:48 -0300 |
---|---|---|
committer | Heiko Stuebner <[email protected]> | 2024-08-15 12:29:19 +0200 |
commit | 6b44aa559d6c7f4ea591ef9d2352a7250138d62a (patch) | |
tree | 31e5df5339ab0c3ae95c16073a42e0888bd45026 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | ab03974df27e471ff03402265292f1bafafb5df6 (diff) |
drm/rockchip: vop: clear DMA stop bit on RK3066
The RK3066 VOP sets a dma_stop bit when it's done scanning out a frame
and needs the driver to acknowledge that by clearing the bit.
Unless we clear it "between" frames, the RGB output only shows noise
instead of the picture. atomic_flush is the place for it that least
affects other code (doing it on vblank would require converting all
other usages of the reg_lock to spin_(un)lock_irq, which would affect
performance for everyone).
This seems to be a redundant synchronization mechanism that was removed
in later iterations of the VOP hardware block.
Fixes: f4a6de855eae ("drm: rockchip: vop: add rk3066 vop definitions")
Cc: [email protected]
Signed-off-by: Val Packett <[email protected]>
Signed-off-by: Heiko Stuebner <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions