OSDN Git Service

drm/amd/display: implement DPMS DTN test v2
authorJun Lei <Jun.Lei@amd.com>
Wed, 8 Aug 2018 15:53:39 +0000 (11:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:11:07 +0000 (11:11 -0500)
commitdd73043534515c1b8bf31f78f0e9945f5d95e0e6
treec59627850e92b08dc68cbc6c35aaa9bb17ffc123
parentd82f99422b21c0e9d174be453d0a5062da40568e
drm/amd/display: implement DPMS DTN test v2

[why]
Existing DTN infrastructure in driver is hacky.  It uses implicit log
names, and also incorrect escape ID.

[how]
- Implement using generic DTN escape ID.
- Move file logging functionality from driver to to script; driver now outputs to string/buffer
- Move HWSS debug functionality to separate c file
- Add debug functionalty for per-block logging as CSV
- Add pretty print in python

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/Makefile
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h