Skip to content

Commit

Permalink
6.10: misc-additions: Get rid of the dc state fix, supposedly fixed w…
Browse files Browse the repository at this point in the history
…ith 6.10.9

Should fix the black screen issue on RDNA2*
  • Loading branch information
Tk-Glitch committed Sep 10, 2024
1 parent 3ca69a1 commit 4514f2d
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions linux-tkg-patches/6.10/0012-misc-additions.patch
Original file line number Diff line number Diff line change
Expand Up @@ -98,19 +98,6 @@ index f4b210ab061291..837d0dbb28ea08 100644
help
This value can be used to select the number of bits to use to

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_state.c b/drivers/gpu/drm/amd/display/dc/core/dc_state.c
index 180ac47868c2..42bf097b36b7 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_state.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_state.c
@@ -300,7 +300,6 @@ void dc_state_destruct(struct dc_state *state)
state->phantom_plane_count = 0;

state->stream_mask = 0;
- memset(&state->res_ctx, 0, sizeof(state->res_ctx));
memset(&state->pp_display_cfg, 0, sizeof(state->pp_display_cfg));
memset(&state->dcn_bw_vars, 0, sizeof(state->dcn_bw_vars));
state->clk_mgr = NULL;

From 299b81f3e619aea3ceda77d7c42842a496b34a53 Mon Sep 17 00:00:00 2001
From: Peter Jung <[email protected]>
Date: Thu, 21 Mar 2024 19:00:50 +0100
Expand Down

0 comments on commit 4514f2d

Please sign in to comment.