diff options
-rw-r--r-- | src/wfdport.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/wfdport.c b/src/wfdport.c index f1d5bdf..8d8501b 100644 --- a/src/wfdport.c +++ b/src/wfdport.c @@ -274,6 +274,11 @@ wfd_port_get_attribi(struct wfd_device *device, /* no effect as FILL_PORT_AREA = true */ case WFD_PORT_BACKGROUND_COLOR: return 0; + case WFD_PORT_FLIP: + case WFD_PORT_MIRROR: + return WFD_FALSE; + case WFD_PORT_ROTATION: + return 0; case WFD_PORT_PIPELINE_ID_COUNT: return wfd_port_choose_pipeline(device, port) != 0 ? 1 : 0; default: @@ -374,6 +379,10 @@ wfd_port_set_attribi(struct wfd_device *device, } port->power_mode = value; break; + /* ignored by WFD_PORT_MODE_{FLIP_MIRROR,ROTATION}_SUPPORT */ + case WFD_PORT_FLIP: + case WFD_PORT_MIRROR: + case WFD_PORT_ROTATION: /* ignored as FILL_PORT_AREA = true */ case WFD_PORT_BACKGROUND_COLOR: default: @@ -465,6 +474,10 @@ wfd_port_mode_get_attribi(struct wfd_device *device, return mode->hdisplay; case WFD_PORT_MODE_HEIGHT: return mode->vdisplay; + case WFD_PORT_MODE_FLIP_MIRROR_SUPPORT: + return WFD_FALSE; + case WFD_PORT_MODE_ROTATION_SUPPORT: + return WFD_ROTATION_SUPPORT_NONE; default: break; } |