Skip to contentSkip to conversation

drm/amd/display: fix typos for dcn20_funcs and dcn21_funcs struct

PATCH Koo, Anthony 1 participant 1 message Dec 2, 2019 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

Koo, Anthony

author Reviewed-by
#1 lore raw
In reply to a message not in the archive

-----Original Message-----
From: Stanley.Yang <[email protected]>
Sent: Thursday, November 28, 2019 10:52 PM
To: [email protected]
Cc: Koo, Anthony <[email protected]>; Yang, Stanley <[email protected]>
Subject: [PATCH] drm/amd/display: fix typos for dcn20_funcs and dcn21_funcs struct

In dcn20_funcs and dcn21_funcs struct, the member ".dsc_pg_control = NULL" should be removed due to .dsc_pg_control be assigned to dcn20_dsc_pg_control.

Change-Id Ic24095e79cdac23e502995e07e75886573d1c112
---
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_init.c | 1 -  drivers/gpu/drm/amd/display/dc/dcn21/dcn21_init.c | 1 -
 2 files changed, 2 deletions(-)
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_init.c +0 -1
index 51b6c25aa3c5..e5debb7c500f 100644
@@ -94,7 +94,6 @@ static const struct hw_sequencer_funcs dcn20_funcs = {
 	.enable_power_gating_plane = dcn20_enable_power_gating_plane,
 	.dpp_pg_control = dcn20_dpp_pg_control,
 	.hubp_pg_control = dcn20_hubp_pg_control,
-	.dsc_pg_control = NULL,
 	.program_triplebuffer = dcn20_program_triple_buffer,
 	.enable_writeback = dcn20_enable_writeback,
 	.disable_writeback = dcn20_disable_writeback, diff --git a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_init.c b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_init.c

index 1d8b67b4e252..d733f8fcfab2 100644

drivers/gpu/drm/amd/display/dc/dcn21/dcn21_init.c +0 -1
@@ -95,7 +95,6 @@ static const struct hw_sequencer_funcs dcn21_funcs = {
 	.enable_power_gating_plane = dcn20_enable_power_gating_plane,
 	.dpp_pg_control = dcn20_dpp_pg_control,
 	.hubp_pg_control = dcn20_hubp_pg_control,
-	.dsc_pg_control = NULL,
 	.program_triplebuffer = dcn20_program_triple_buffer,
 	.enable_writeback = dcn20_enable_writeback,
 	.disable_writeback = dcn20_disable_writeback,

--
2.17.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx