Skip to content

Commit d8c782c

Browse files
Tom Chungalexdeucher
authored andcommitted
drm/amd/display: Initial psr_version with correct setting
[Why & How] The initial setting for psr_version is not correct while create a virtual link. The default psr_version should be DC_PSR_VERSION_UNSUPPORTED. Reviewed-by: Roman Li <roman.li@amd.com> Signed-off-by: Tom Chung <chiahsuan.chung@amd.com> Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 25961ba commit d8c782c

File tree

1 file changed

+1
-0
lines changed
  • drivers/gpu/drm/amd/display/dc/core

1 file changed

+1
-0
lines changed

drivers/gpu/drm/amd/display/dc/core/dc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ static bool create_links(
276276
link->link_id.type = OBJECT_TYPE_CONNECTOR;
277277
link->link_id.id = CONNECTOR_ID_VIRTUAL;
278278
link->link_id.enum_id = ENUM_ID_1;
279+
link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED;
279280
link->link_enc = kzalloc(sizeof(*link->link_enc), GFP_KERNEL);
280281

281282
if (!link->link_enc) {

0 commit comments

Comments
 (0)