]> git.infradead.org Git - nvme.git/commit
drm/amd/display: Allow IPS2 during Replay
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Thu, 7 Dec 2023 19:12:03 +0000 (14:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Jan 2024 21:00:24 +0000 (16:00 -0500)
commitff8caade7429f28217c293672ab64323031f350e
treed4f6e05079d13d29dc308f107d7aa0a6f2e701b9
parent3380fcad2c906872110d31ddf7aa1fdea57f9df6
drm/amd/display: Allow IPS2 during Replay

[Why & How]
Add regkey to block video playback in IPS2 by default

Allow idle optimizations in the same spot we allow Replay for
video playback usecases.

Avoid sending it when there's an external display connected by
modifying the allow idle checks to check for active non-eDP screens.

Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c