]> git.baikalelectronics.ru Git - 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)
commitf5eb220b302276c663612f240b781432bf6310a1
tree880ba32d0548a950a50e255a9072561da0ad7345
parent8d8c2d91afbe570b74af767942839280b88173ee
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