summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c
diff options
context:
space:
mode:
authorIan Chen <ian.chen@amd.com>2022-10-20 18:46:36 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-10-24 21:35:54 +0300
commitbd829d5707730072fecc3267016a675a4789905b (patch)
tree9cf3faf774fa878a2f288e7540e5ffcbe69963cd /drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c
parent174fc82410a8c75d3937320658fca5a240ca8176 (diff)
downloadlinux-bd829d5707730072fecc3267016a675a4789905b.tar.xz
drm/amd/display: Refactor eDP PSR codes
We split out PSR config from "global" to "per-panel" config settings. Tested-by: Mark Broadworth <mark.broadworth@amd.com> Reviewed-by: Robin Chen <robin.chen@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Ian Chen <ian.chen@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c b/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c
index d0ad72caead2..92eb56873eee 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c
@@ -937,6 +937,10 @@ static const struct dc_debug_options debug_defaults_diags = {
};
static const struct dc_panel_config panel_config_defaults = {
+ .psr = {
+ .disable_psr = false,
+ .disallow_psrsu = false,
+ },
.ilr = {
.optimize_edp_link_rate = true,
},