drm/amd/display: Add new IPS config mode
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Fri, 15 Mar 2024 13:20:42 +0000 (09:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Mar 2024 05:42:45 +0000 (01:42 -0400)
commit54935663d3ace0129a6805386fcef3ddd5477934
tree73598468def27f26a193b2a2b68b00d08a6a53a2
parenta13ad81951c1334a2ddd0225929552f2eb7f074c
drm/amd/display: Add new IPS config mode

[Why]
We don't have a way to specify IPS2 for display off but RCG only for
static screen and local video playback.

[How]
Add a new setting that allows RCG only when displays are active but
IPS2 when all displays are off.

Reviewed-by: Ovidiu Bunea <ovidiu.bunea@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@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/dc/dc_dmub_srv.c
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h