]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: Report HVS underrun errors
authorBoris Brezillon <boris.brezillon@bootlin.com>
Wed, 20 Feb 2019 15:51:22 +0000 (16:51 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 6 Mar 2019 13:47:59 +0000 (14:47 +0100)
commit18aa749c489304827a1d118f578fcd60a1f5ff91
tree7feebf8898230a8b20fe529e5e3ff5f9290c7b5c
parent36e6d7e89951f8a54a566a7a5745cb8361b0c136
drm/vc4: Report HVS underrun errors

Add a debugfs entry and helper for reporting HVS underrun errors as
well as helpers for masking and unmasking the underrun interrupts.
Add an IRQ handler and initial IRQ configuration.
Rework related register definitions to take the channel number.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190220155124.25022-2-paul.kocialkowski@bootlin.com
drivers/gpu/drm/vc4/vc4_crtc.c
drivers/gpu/drm/vc4/vc4_debugfs.c
drivers/gpu/drm/vc4/vc4_drv.h
drivers/gpu/drm/vc4/vc4_hvs.c
drivers/gpu/drm/vc4/vc4_kms.c
drivers/gpu/drm/vc4/vc4_regs.h