Merge branch 'CR_1853_buildroot_drm_test_shengyang.chen' into 'jh7110-devel'
CR_1853_riscv:buildroot:drm-test See merge request sdk/buildroot!54
This commit is contained in:
@@ -127,6 +127,12 @@ int main(int argc, char **argv)
|
|||||||
buf.vaddr[i+3] = v4;
|
buf.vaddr[i+3] = v4;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
ret = drmModeSetCrtc(fd, crtc_id, buf.fb_id,
|
||||||
|
0, 0, &conn_id, 1, &conn->modes[0]);
|
||||||
|
if (ret) {
|
||||||
|
fprintf(stderr, "cannot set CRTC for connector %u (%d): %m\n",
|
||||||
|
crtc_id, errno);
|
||||||
|
}
|
||||||
sleep(1);
|
sleep(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user