]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/komeda: Optionally dump DRM state on interrupts
authorMihail Atanassov <Mihail.Atanassov@arm.com>
Thu, 7 Nov 2019 11:42:36 +0000 (11:42 +0000)
committerMihail Atanassov <mihail.atanassov@arm.com>
Tue, 12 Nov 2019 11:46:35 +0000 (11:46 +0000)
commit393389347c75114ad2b793134f87769db683699f
tree880ba32d0548a950a50e255a9072561da0ad7345
parent9a673215bd1524c6b97dad2e31826c2993c3457a
drm/komeda: Optionally dump DRM state on interrupts

It's potentially useful information when diagnosing error/warn IRQs, so
dump it to dmesg with a drm_info_printer. Hide this extra debug dumping
behind another komeda_dev->err_verbosity bit.

Note that there's not much sense in dumping it for INFO events,
since the VSYNC event will swamp the log.

Reviewed-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191107114155.54307-4-mihail.atanassov@arm.com
drivers/gpu/drm/arm/display/komeda/komeda_dev.h
drivers/gpu/drm/arm/display/komeda/komeda_event.c