unsigned long flags1;
bool forward_roi_change = false;
bool notify_ta = false;
- bool all_crc_ready = true;
struct dc_stream_state *stream_state;
int i;
continue;
}
- if (!crtc_ctx->crc_info.crc[i].crc_ready)
- all_crc_ready = false;
-
if (reset_crc_frame_count[i] || crtc_ctx->crc_info.crc[i].frame_count == UINT_MAX)
/* Reset the reference frame count after user update the ROI
* or it reaches the maximum value.
crtc_ctx->crc_info.crc[i].frame_count += 1;
}
spin_unlock_irqrestore(&crtc_ctx->crc_info.lock, flags1);
-
- if (all_crc_ready)
- complete_all(&crtc_ctx->crc_info.completion);
}
void amdgpu_dm_crtc_secure_display_create_contexts(struct amdgpu_device *adev)