summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/arm/display/komeda/komeda_event.c
diff options
context:
space:
mode:
authorMihail Atanassov <Mihail.Atanassov@arm.com>2019-11-07 11:42:40 +0000
committerMihail Atanassov <mihail.atanassov@arm.com>2019-11-12 11:46:39 +0000
commit4039f0293bbde9cde722ede790abdbfcc7e1d8aa (patch)
treea4d97f52fe581d5fa1468b796051663b3d8c26c1 /drivers/gpu/drm/arm/display/komeda/komeda_event.c
parent393389347c75114ad2b793134f87769db683699f (diff)
downloadlwn-4039f0293bbde9cde722ede790abdbfcc7e1d8aa.tar.gz
lwn-4039f0293bbde9cde722ede790abdbfcc7e1d8aa.zip
drm/komeda: Add option to print WARN- and INFO-level IRQ events
Extra detail (normally off) almost never hurts. 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-5-mihail.atanassov@arm.com
Diffstat (limited to 'drivers/gpu/drm/arm/display/komeda/komeda_event.c')
-rw-r--r--drivers/gpu/drm/arm/display/komeda/komeda_event.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_event.c b/drivers/gpu/drm/arm/display/komeda/komeda_event.c
index de99a588ed75..7fd624761a2b 100644
--- a/drivers/gpu/drm/arm/display/komeda/komeda_event.c
+++ b/drivers/gpu/drm/arm/display/komeda/komeda_event.c
@@ -124,6 +124,10 @@ void komeda_print_events(struct komeda_events *evts, struct drm_device *dev)
if (err_verbosity & KOMEDA_DEV_PRINT_ERR_EVENTS)
print_evts |= KOMEDA_ERR_EVENTS;
+ if (err_verbosity & KOMEDA_DEV_PRINT_WARN_EVENTS)
+ print_evts |= KOMEDA_WARN_EVENTS;
+ if (err_verbosity & KOMEDA_DEV_PRINT_INFO_EVENTS)
+ print_evts |= KOMEDA_INFO_EVENTS;
if (evts_mask & print_evts) {
char msg[256];