Lines Matching full:ctm
742 struct drm_color_ctm *ctm; in _dpu_crtc_get_pcc_coeff() local
746 ctm = (struct drm_color_ctm *)state->ctm->data; in _dpu_crtc_get_pcc_coeff()
748 if (!ctm) in _dpu_crtc_get_pcc_coeff()
751 cfg->r.r = CONVERT_S3_15(ctm->matrix[0]); in _dpu_crtc_get_pcc_coeff()
752 cfg->g.r = CONVERT_S3_15(ctm->matrix[1]); in _dpu_crtc_get_pcc_coeff()
753 cfg->b.r = CONVERT_S3_15(ctm->matrix[2]); in _dpu_crtc_get_pcc_coeff()
755 cfg->r.g = CONVERT_S3_15(ctm->matrix[3]); in _dpu_crtc_get_pcc_coeff()
756 cfg->g.g = CONVERT_S3_15(ctm->matrix[4]); in _dpu_crtc_get_pcc_coeff()
757 cfg->b.g = CONVERT_S3_15(ctm->matrix[5]); in _dpu_crtc_get_pcc_coeff()
759 cfg->r.b = CONVERT_S3_15(ctm->matrix[6]); in _dpu_crtc_get_pcc_coeff()
760 cfg->g.b = CONVERT_S3_15(ctm->matrix[7]); in _dpu_crtc_get_pcc_coeff()
761 cfg->b.b = CONVERT_S3_15(ctm->matrix[8]); in _dpu_crtc_get_pcc_coeff()
785 if (!state->ctm) { in _dpu_crtc_setup_cp_blocks()