RE: [PATCH] drm/amd/display: fix typos for dcn20_funcs and dcn21_funcs struct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Anthony Koo <Anthony.Koo@xxxxxxx>

-----Original Message-----
From: Stanley.Yang <Stanley.Yang@xxxxxxx> 
Sent: Thursday, November 28, 2019 10:52 PM
To: amd-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx
Cc: Koo, Anthony <Anthony.Koo@xxxxxxx>; Yang, Stanley <Stanley.Yang@xxxxxxx>
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
Signed-off-by: Stanley.Yang <Stanley.Yang@xxxxxxx>
---
 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(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_init.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_init.c
index 51b6c25aa3c5..e5debb7c500f 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_init.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_init.c
@@ -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
--- a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_init.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_init.c
@@ -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
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux