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 <[email protected]> Reviewed-by: Roman Li <[email protected]> Signed-off-by: Aurabindo Pillai <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent e619ac4 commit 9856893

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)