diff options
author | 2023-10-24 23:41:34 +0530 | |
---|---|---|
committer | 2023-11-07 12:03:31 -0500 | |
commit | c68b4550b6b432cbb05ad30f67178d2d3845d919 (patch) | |
tree | f79cb9e8fd60a83192205660438250e065adcae7 /drivers/gpu/drm/amd/display/dc/dcn35 | |
parent | drm/amd/pm: Hide irrelevant pm device attributes (diff) | |
download | linux-c68b4550b6b432cbb05ad30f67178d2d3845d919.tar.gz linux-c68b4550b6b432cbb05ad30f67178d2d3845d919.tar.bz2 linux-c68b4550b6b432cbb05ad30f67178d2d3845d919.zip |
drm/amd/display: avoid variable reinitialization
The member variable enable_hpo_pg_support is already initialized
and hence the reinitialization instruction can be removed. Issue
identified using the doubleinit.cocci Coccinelle semantic patch script.
Signed-off-by: Bragatheswaran Manickavel <bragathemanick0908@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn35')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c b/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c index 9fb8d2fa5e53..c7e011d26d41 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c @@ -757,7 +757,6 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_boot_optimizations = false, .disable_unbounded_requesting = false, .disable_mem_low_power = false, - .enable_hpo_pg_support = false, //must match enable_single_display_2to1_odm_policy to support dynamic ODM transitions .enable_double_buffered_dsc_pg_support = true, .enable_dp_dig_pixel_rate_div_policy = 1, |