Skip to content

Commit 9856893

Browse files
Aurabindo Pillaialexdeucher
authored andcommitted
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>
1 parent e619ac4 commit 9856893

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,10 +316,12 @@ bool dcn32_apply_idle_power_optimizations(struct dc *dc, bool enable)
316316
cmd.cab.cab_alloc_ways = (uint8_t)ways;
317317

318318
dc_wake_and_execute_dmub_cmd(dc->ctx, &cmd, DM_DMUB_WAIT_TYPE_NO_WAIT);
319+
DC_LOG_MALL("enable scanout from MALL");
319320

320321
return true;
321322
}
322323

324+
DC_LOG_MALL("surface cannot fit in CAB, disabling scanout from MALL\n");
323325
return false;
324326
}
325327

0 commit comments

Comments
 (0)