drm/amd/display: Revert "retain/release stream pointer in link enc table"
[why] Change causing issue. Need to revert the change. Reviewed-by: Aric Cyr <Aric.Cyr@amd.com> Acked-by: Wayne Lin <wayne.lin@amd.com> Signed-off-by: Sung Joon Kim <sungkim@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
e90f0bb0c7
commit
ed12f3f198
|
@ -122,7 +122,6 @@ static void remove_link_enc_assignment(
|
|||
stream->link_enc = NULL;
|
||||
state->res_ctx.link_enc_cfg_ctx.link_enc_assignments[i].eng_id = ENGINE_ID_UNKNOWN;
|
||||
state->res_ctx.link_enc_cfg_ctx.link_enc_assignments[i].stream = NULL;
|
||||
dc_stream_release(stream);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -145,7 +144,6 @@ static void add_link_enc_assignment(
|
|||
*/
|
||||
for (i = 0; i < state->stream_count; i++) {
|
||||
if (stream == state->streams[i]) {
|
||||
dc_stream_retain(stream);
|
||||
state->res_ctx.link_enc_cfg_ctx.link_enc_assignments[i] = (struct link_enc_assignment){
|
||||
.valid = true,
|
||||
.ep_id = (struct display_endpoint_id) {
|
||||
|
|
Loading…
Reference in New Issue