OSDN Git Service

drm/amd/display: Wrong ifdef guards were used around DML validation
authorJaehyun Chung <jaehyun.chung@amd.com>
Thu, 7 Nov 2019 16:16:49 +0000 (11:16 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 21:27:16 +0000 (16:27 -0500)
commita4cea11655fbc5246fb5a066588e1589e9cfefa5
tree163a6262a8c3e40dd1b4c745a4bfe7321fa0d693
parent580c8be278b09af65296aaa1a2227d3003eb7892
drm/amd/display: Wrong ifdef guards were used around DML validation

[Why]
Wrong guards were causing the debug option not to run.

[How]
Changed the guard to the correct one, matching the rq, ttu, dlg regs struct
members that need to be guarded. Also log a message when validation starts.

Signed-off-by: Jaehyun Chung <jaehyun.chung@amd.com>
Reviewed-by: Alvin Lee <Alvin.Lee2@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/core/dc.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubp.c