mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
drm/amd/display: Disable DPPCLK RCG to fix cursor disappearing
[Why & How] DPP clock is gated when programming the cursor. This change disables DPPCLK RCG in dccg42_init before accessing DPP, ensuring cursor programming latches correctly. Assisted-by: Cursor Reviewed-by: Ovidiu (Ovi) Bunea <ovidiu.bunea@amd.com> Signed-off-by: Karen Chen <Karen.Chen@amd.com> Signed-off-by: George Zhang <george.zhang@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
0b2becfc28
commit
687bd7c811
|
|
@ -292,6 +292,12 @@ static void dccg42_init(struct dccg *dccg)
|
|||
dccg42_disable_hdmistreamclk(dccg);
|
||||
if (dccg->ctx->dc->debug.root_clock_optimization.bits.hdmichar)
|
||||
dccg42_disable_hdmicharclk(dccg, 0);
|
||||
|
||||
if (dccg->ctx->dc->debug.root_clock_optimization.bits.dpp) {
|
||||
for (i = 0; i < res_pool->pipe_count; i++) {
|
||||
dccg35_dpp_root_clock_control(dccg, i, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user