drm/amd/display: add DMUB registers to crash dump diagnostic data.
authorAshley Thomas <Ashley.Thomas2@amd.com>
Tue, 18 May 2021 01:34:45 +0000 (18:34 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Jun 2021 21:25:40 +0000 (17:25 -0400)
commit2631ac1ac328189031d1aefbbd4929050f72fb23
treef074293d7394873d55bd7a27fcfadb5f77e239f1
parenteb945257fc6e48da1d744b493ad6e974a18c2405
drm/amd/display: add DMUB registers to crash dump diagnostic data.

[WHY]
Ability to triage DMCUB is improved with availability of certain
dmub registers not currently captured in crash dump diagnostic data.

[HOW]
Add dmub registers to diagnostic data collection.

Thanks Nicholas Kazlauskas for awesome input on this!

Signed-off-by: Ashley Thomas <Ashley.Thomas2@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.h
drivers/gpu/drm/amd/display/dmub/dmub_srv.h
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn20.c
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn20.h
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn21.c
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn30.c
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn301.c
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn302.c
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn303.c
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c