Tool/software: Linux
Hi.
I finished three display( HDMI_1(TI-built in, display video) , LCD_2( writeback for HDMI_1 ) , LCD_3( rendering 3D GPU) ). Tha's all OK when HDMI cable is connect with HDMI_1.
but, when board is powered up and HDMI calbe is disconnected with HDMI_1, we found error as below it.
< flow >
drmModeAtomicCommit -> drm_atomic_nonblocking_commit -> drm_atomic_check_only -> drm_atomic_crtc_check
< file >
ti-processor-sdk-linux-am57xx-evm-04.00.00.04\board-support\linux-4.9.28+gitAUTOINC+eed43d1050-geed43d1050\drivers\gpu\drm\drm_atomic.c
int drm_atomic_check_only(struct drm_atomic_state *state)
{
...
for_each_crtc_in_state(state, crtc, crtc_state, i) {
ret = drm_atomic_crtc_check(crtc, crtc_state);
if (ret) {
DRM_DEBUG_ATOMIC("[CRTC:%d:%s] atomic core check failed\n",
crtc->base.id, crtc->name);
printk("[CRTC:%d:%s] atomic core check failed\n", crtc->base.id, crtc->name); // [CRTC:38:crtc-1] atomic core check failed
return ret;
}
}
This error is due to crtc(hdmi_1) is disconnected.
Even if hdmi_1 is disconnected, we need to dsplay writeback for HDMI_1 on LCD_2..
How do it ??
Thanks a lot.