Hi ZhengYang, Thanks for your comments ;) On 01/29/2016 02:17 PM, 郑阳 wrote:
在 2016年01月07日 18:03, Yakir Yang 写道:Got it Ah, good catch, thanksIt seems should be if (data->enc_in_format == data->enc_out_format).+static int inno_hdmi_config_video_csc(struct inno_hdmi *hdmi) +{ + if (data->enc_out_format == data->enc_out_format) { + if ((data->enc_in_format == HDMI_COLORSPACE_RGB) || + (data->enc_in_format >= HDMI_COLORSPACE_YUV444)) { + value = v_SOF_DISABLE | v_COLOR_DEPTH_NOT_INDICATED(1); + hdmi_writeb(hdmi, HDMI_VIDEO_CONTRL3, value); + + hdmi_modb(hdmi, HDMI_VIDEO_CONTRL, + m_VIDEO_AUTO_CSC | m_VIDEO_C0_C2_SWAP, + v_VIDEO_AUTO_CSC(AUTO_CSC_DISABLE) | + v_VIDEO_C0_C2_SWAP(C0_C2_CHANGE_DISABLE)); + return 0; + } + } - Yakir |
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel