Lines Matching refs:rc_state
202 enum dpu_enc_rc_states rc_state; member
907 dpu_enc->rc_state, "begin"); in dpu_encoder_resource_control()
919 if (dpu_enc->rc_state == DPU_ENC_RC_STATE_ON) { in dpu_encoder_resource_control()
924 } else if (dpu_enc->rc_state != DPU_ENC_RC_STATE_OFF && in dpu_encoder_resource_control()
925 dpu_enc->rc_state != DPU_ENC_RC_STATE_IDLE) { in dpu_encoder_resource_control()
928 dpu_enc->rc_state); in dpu_encoder_resource_control()
933 if (is_vid_mode && dpu_enc->rc_state == DPU_ENC_RC_STATE_IDLE) in dpu_encoder_resource_control()
938 dpu_enc->rc_state = DPU_ENC_RC_STATE_ON; in dpu_encoder_resource_control()
941 dpu_enc->idle_pc_supported, dpu_enc->rc_state, in dpu_encoder_resource_control()
954 if (dpu_enc->rc_state != DPU_ENC_RC_STATE_ON) { in dpu_encoder_resource_control()
957 dpu_enc->rc_state); in dpu_encoder_resource_control()
975 dpu_enc->idle_pc_supported, dpu_enc->rc_state, in dpu_encoder_resource_control()
988 dpu_enc->rc_state == DPU_ENC_RC_STATE_IDLE) { in dpu_encoder_resource_control()
992 else if (dpu_enc->rc_state == DPU_ENC_RC_STATE_OFF || in dpu_encoder_resource_control()
993 dpu_enc->rc_state == DPU_ENC_RC_STATE_IDLE) { in dpu_encoder_resource_control()
996 dpu_enc->rc_state); in dpu_encoder_resource_control()
1001 dpu_enc->rc_state = DPU_ENC_RC_STATE_PRE_OFF; in dpu_encoder_resource_control()
1004 dpu_enc->idle_pc_supported, dpu_enc->rc_state, in dpu_encoder_resource_control()
1014 if (dpu_enc->rc_state == DPU_ENC_RC_STATE_OFF) { in dpu_encoder_resource_control()
1019 } else if (dpu_enc->rc_state == DPU_ENC_RC_STATE_ON) { in dpu_encoder_resource_control()
1021 DRMID(drm_enc), sw_event, dpu_enc->rc_state); in dpu_encoder_resource_control()
1030 if (dpu_enc->rc_state == DPU_ENC_RC_STATE_PRE_OFF) in dpu_encoder_resource_control()
1033 dpu_enc->rc_state = DPU_ENC_RC_STATE_OFF; in dpu_encoder_resource_control()
1036 dpu_enc->idle_pc_supported, dpu_enc->rc_state, in dpu_encoder_resource_control()
1045 if (dpu_enc->rc_state != DPU_ENC_RC_STATE_ON) { in dpu_encoder_resource_control()
1047 DRMID(drm_enc), sw_event, dpu_enc->rc_state); in dpu_encoder_resource_control()
1058 DRMID(drm_enc), sw_event, dpu_enc->rc_state); in dpu_encoder_resource_control()
1068 dpu_enc->rc_state = DPU_ENC_RC_STATE_IDLE; in dpu_encoder_resource_control()
1071 dpu_enc->idle_pc_supported, dpu_enc->rc_state, in dpu_encoder_resource_control()
1081 dpu_enc->idle_pc_supported, dpu_enc->rc_state, in dpu_encoder_resource_control()
1087 dpu_enc->idle_pc_supported, dpu_enc->rc_state, in dpu_encoder_resource_control()