drm/amd/display: Add customizable tracing event
authorChiawen Huang <chiawen.huang@amd.com>
Fri, 9 Nov 2018 03:44:38 +0000 (11:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Nov 2018 17:02:49 +0000 (12:02 -0500)
commit6de89f79ea7ad4804e3608863ffe3a155917b8b9
treee3bd267e7cdfe779989049559341d93ca50f2a06
parent1cc9f371fa3e37ec45ac60c2e334cb2373913dad
drm/amd/display: Add customizable tracing event

[why]
add customizable log with a message input, which is for adding
test log in debugging as printf function in ETW.

[Usage]
EVENT_LOG_CUST_MSG1("TestLog","Hello World %d=0x%x", 123, pDC);

Signed-off-by: Chiawen Huang <chiawen.huang@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dm_event_log.h