starfive: v4l2test: Support select connector to display for drm

Add -C param to select connector
0---inno hdmi
1---rgb hdmi or mipi dsi

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
This commit is contained in:
Jianlong Huang
2022-08-10 14:09:56 +08:00
parent 8975760f59
commit 8d7bb3e204
3 changed files with 31 additions and 3 deletions
+1
View File
@@ -37,6 +37,7 @@ typedef struct drm_dev_t {
typedef struct DRMParam_t {
drm_dev_t* dev_head;
int fd;
int connector_id;
} DRMParam_t;