Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: Add log for MALL entry on DCN32x

[Why&How]
Add a dyndbg log entry to check whether the driver requested scanout
from MALL cache to PMFW via DMCUB

Reviewed-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Reviewed-by: Roman Li <roman.li@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Aurabindo Pillai and committed by
Alex Deucher
9856893f e619ac41

+2
+2
drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c
··· 316 316 cmd.cab.cab_alloc_ways = (uint8_t)ways; 317 317 318 318 dc_wake_and_execute_dmub_cmd(dc->ctx, &cmd, DM_DMUB_WAIT_TYPE_NO_WAIT); 319 + DC_LOG_MALL("enable scanout from MALL"); 319 320 320 321 return true; 321 322 } 322 323 324 + DC_LOG_MALL("surface cannot fit in CAB, disabling scanout from MALL\n"); 323 325 return false; 324 326 } 325 327